public List<GTaskGroup> getScheduledGroups() {
		lock.lock();
		try {
			return new ArrayList<GTaskGroup>(taskGroupList);
		}
		finally {
			lock.unlock();
		}
	}
Returns a list of Groups that are waiting to run.
@return a list of Groups that are waiting to run.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManager.java