예제 #1
0
 public void Enqueue(Work work)
 {
     _workQueue.Enqueue(work);
     _semaphore.Release();
 }
예제 #2
0
 public void Enqueue(Work work)
 {
     _workQueue.Enqueue(work);
     _syncSource.TrySetResult(true);
 }