private GThreadPool getThreadPool() {
		if (threadPool != null) {
			return threadPool;
		}

		if (threadPoolName != null) {
			return GThreadPool.getPrivateThreadPool(threadPoolName);
		}

		throw new IllegalStateException("Must either set a GThreadPool or set a thread pool name");
	}
Builds the final {@link ConcurrentQ}.

@param callback the callback for processing each job
@return the new queue
Ghidra/Framework/Generic/src/main/java/generic/concurrent/ConcurrentQBuilder.java