From 65feda4e048266d1f3a11cd19394495bee803f6c Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 11 Mar 2023 12:03:02 -0600 Subject: [PATCH] prefix "DH-" to the batch generator threads --- .../wrappers/worldGeneration/BatchGenerationEnvironment.java | 4 ++-- coreSubProjects | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/BatchGenerationEnvironment.java b/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/BatchGenerationEnvironment.java index cf15232d6..e5e7066aa 100644 --- a/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/BatchGenerationEnvironment.java +++ b/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/BatchGenerationEnvironment.java @@ -176,7 +176,7 @@ public final class BatchGenerationEnvironment extends AbstractBatchGenerationEnv public int unknownExceptionCount = 0; public long lastExceptionTriggerTime = 0; - public static final LodThreadFactory threadFactory = new LodThreadFactory("Gen-Worker-Thread", Thread.MIN_PRIORITY); + public static final LodThreadFactory threadFactory = new LodThreadFactory("DH-Gen-Worker-Thread", Thread.MIN_PRIORITY); public static ThreadLocal isDistantGeneratorThread = new ThreadLocal<>(); @@ -237,7 +237,7 @@ public final class BatchGenerationEnvironment extends AbstractBatchGenerationEnv return future.join(); } - public void resizeThreadPool(int newThreadCount) { executors = Executors.newFixedThreadPool(newThreadCount, new LodThreadFactory("Gen-Worker-Thread", Thread.MIN_PRIORITY)); } + public void resizeThreadPool(int newThreadCount) { executors = Executors.newFixedThreadPool(newThreadCount, new LodThreadFactory("DH-Gen-Worker-Thread", Thread.MIN_PRIORITY)); } public void updateAllFutures() { diff --git a/coreSubProjects b/coreSubProjects index dbfde9f63..4b5bfe679 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit dbfde9f637a9e868b46d40cd4c0d5878f32de083 +Subproject commit 4b5bfe6799eaaf4627d7ad812584bab8ce0a3d5c