public static GTaskManager getTaskManager(DomainObject domainObject) {
		if (domainObject.isClosed()) {
			throw new AssertException("Attempted to get a TaskManger for a closed domain object");
		}
		GTaskManager gTaskManager = map.get(domainObject);
		if (gTaskManager == null) {
			GThreadPool sharedThreadPool = GThreadPool.getSharedThreadPool("Program Thread");
			gTaskManager = new GTaskManager(domainObject, sharedThreadPool);
			map.put(domainObject, gTaskManager);
		}
		return gTaskManager;
	}
Returns the one GTaskManager for the domainObject. A new GTaskManager will be created if
one does not already exist for the domainObject.  

@param domainObject the domainObject for which to get a GTaskManager.
@return the GTaskManager for the given domainObject.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManagerFactory.java