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