public void OnThreadDispose(AbstractThread thread) { lock (this) { _createdThreads.Remove(thread); } }
public void OnThreadStart(AbstractThread thread) { lock (this) { _runningThreads.Add(thread); } }
public void OnThreadStop(AbstractThread thread) { lock (this) { _runningThreads.Remove(thread); } }
public void OnThreadCreate(AbstractThread thread) { lock (this) { _createdThreads.Add(thread); } }