public WorkerInfo(int threadId, WaitCallBackWrapper initialisationCallBackWrapper)
 {
     ThreadSignal   = new AutoResetEvent(false);
     ThreadIdle     = false;
     ThreadId       = threadId;
     LastActiveTime = DateTime.Now;
     this.CurrentCallBackWrapper = initialisationCallBackWrapper;
 }
 public void UpdateCurrentCallBackWrapper(WaitCallBackWrapper waitCallBackWrapper)
 {
     CurrentCallBackWrapper = waitCallBackWrapper;
 }