From aabf087f55c270c3cf80ab9a9b989b4ae72daed4 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 2 Jul 2022 22:02:04 -0500 Subject: [PATCH] Api threading config comments --- .../api/external/config/client/DhApiThreading.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiThreading.java b/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiThreading.java index a9b9100cf..5ab434529 100644 --- a/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiThreading.java +++ b/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiThreading.java @@ -25,10 +25,21 @@ public class DhApiThreading * 1.0 = 1 thread active 100% of the time
* 1.5 = 2 threads active 100% of the time (partial values are rounded up)
* 2.0 = 2 threads active 100% of the time
+ * + * @deprecated this (and the related config) should be replaced with an int + * count of threads and then a double percent active config. */ + @Deprecated public static IDhApiConfig getWorldGeneratorThreadConfig() { return new DhApiConfig<>(Threading.numberOfWorldGenerationThreads); } + // TODO the above should be replaced with these +// public static IDhApiConfig getWorldGeneratorThreadConfig() +// { return new DhApiConfig<>(Threading.numberOfWorldGenerationThreads); } + +// public static IDhApiConfig getWorldGeneratorThreadActivePercentConfig() +// { return new DhApiConfig<>(Threading.ToBeDetermined); } + /** Returns the config related to the buffer (GPU Terrain data) builder threads. */ public static IDhApiConfig getBufferBuilderThreadConfig()