internal void OnThreadExitedEvent(Thread thread) { if (ThreadExitedEvent != null) ThreadExitedEvent (this, thread); }