示例#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;
 }