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