/// <summary>
 /// Adds thread to the monitor and queue
 /// </summary>
 /// <param name="thread">thread to add</param>
 public void AddThread(Thread thread)
 {
     threadQueue.AddThread(thread);
     threadMonitor.AddThread(thread);
 }