public Releaser(AsyncQueueLock toRelease) { _toRelease = toRelease; }
public AsyncQueue(int capacity) { _queue = new Queue <T>(capacity); _capacity = capacity; _lock = new AsyncQueueLock(this); }