예제 #1
0
 public RemainingWorkItem(CountdownEvent mre, long itemsRemaining)
 {
     _mre            = mre;
     _itemsRemaining = new PaddedInt64 {
         Value = itemsRemaining
     };
 }
예제 #2
0
 public SequentialWorkItem(IThreadPool <IThreadPoolWorkItem> pool, CountdownEvent signal, long count)
 {
     _pool   = pool;
     _signal = signal;
     _count  = new PaddedInt64 {
         Value = count
     };
 }