예제 #1
0
 public Releaser(AsyncQueueLock toRelease)
 {
     _toRelease = toRelease;
 }
예제 #2
0
 public AsyncQueue(int capacity)
 {
     _queue    = new Queue <T>(capacity);
     _capacity = capacity;
     _lock     = new AsyncQueueLock(this);
 }