From 52ecdc701a86b9c8cbd9ff6c5887105382c45873 Mon Sep 17 00:00:00 2001 From: ghidragon <106987263+ghidragon@users.noreply.github.com> Date: Fri, 12 Dec 2025 09:56:56 -0500 Subject: [PATCH] GP-5887 moved some threading support into Generic --- .../src/main/java/generic/concurrent/GThreadPool.java | 5 ++--- .../java/generic/concurrent}/NamedDaemonThreadFactory.java | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) rename Ghidra/Framework/{Generic => Utility}/src/main/java/generic/concurrent/GThreadPool.java (99%) rename Ghidra/Framework/{Generic/src/main/java/generic/util => Utility/src/main/java/generic/concurrent}/NamedDaemonThreadFactory.java (96%) diff --git a/Ghidra/Framework/Generic/src/main/java/generic/concurrent/GThreadPool.java b/Ghidra/Framework/Utility/src/main/java/generic/concurrent/GThreadPool.java similarity index 99% rename from Ghidra/Framework/Generic/src/main/java/generic/concurrent/GThreadPool.java rename to Ghidra/Framework/Utility/src/main/java/generic/concurrent/GThreadPool.java index b900b6c61c..eb8957a35b 100644 --- a/Ghidra/Framework/Generic/src/main/java/generic/concurrent/GThreadPool.java +++ b/Ghidra/Framework/Utility/src/main/java/generic/concurrent/GThreadPool.java @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,7 +20,6 @@ import java.util.Map; import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicInteger; -import generic.util.NamedDaemonThreadFactory; import ghidra.util.SystemUtilities; /** diff --git a/Ghidra/Framework/Generic/src/main/java/generic/util/NamedDaemonThreadFactory.java b/Ghidra/Framework/Utility/src/main/java/generic/concurrent/NamedDaemonThreadFactory.java similarity index 96% rename from Ghidra/Framework/Generic/src/main/java/generic/util/NamedDaemonThreadFactory.java rename to Ghidra/Framework/Utility/src/main/java/generic/concurrent/NamedDaemonThreadFactory.java index c3cca1bb30..0632f6f3ae 100644 --- a/Ghidra/Framework/Generic/src/main/java/generic/util/NamedDaemonThreadFactory.java +++ b/Ghidra/Framework/Utility/src/main/java/generic/concurrent/NamedDaemonThreadFactory.java @@ -1,20 +1,19 @@ /* ### * IP: GHIDRA - * REVIEWED: YES * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ -package generic.util; +package generic.concurrent; import java.util.concurrent.Executors; import java.util.concurrent.ThreadFactory;