Exemplo n.º 1
0
 public Releaser(AsyncQueueLock toRelease)
 {
     _toRelease = toRelease;
 }
Exemplo n.º 2
0
 public AsyncQueue(int capacity)
 {
     _queue    = new Queue <T>(capacity);
     _capacity = capacity;
     _lock     = new AsyncQueueLock(this);
 }