Beispiel #1
0
        public void Dispose()
        {
            BlockingPool <WorkBuffer> blockingPool = this._pool;

            this._pool = (BlockingPool <WorkBuffer>)null;
            blockingPool.Dispose();
        }
Beispiel #2
0
 public WorkBufferBlockingPool(int poolSize)
 {
     this._pool = new BlockingPool <WorkBuffer>(poolSize);
 }