public void Enqueue(Work work) { _workQueue.Enqueue(work); _semaphore.Release(); }
public void Enqueue(Work work) { _workQueue.Enqueue(work); _syncSource.TrySetResult(true); }