public void setSuspended(boolean b) {
		lock.lock();
		try {
			suspended = b;
			runNextTaskIfNotBusyOrSuspended();
			if (!suspended) {
				wakeUpWaitingThread();
			}
			notifySuspendedStateChanged();
		}
		finally {
			lock.unlock();
		}
	}
Sets the suspended state of this task queue.  While suspended, this task manager will not
start any new tasks in its queue.  Any currently running task will continue to run.

@param b true to suspend this manager, false to resume executing new tasks.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManager.java