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