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

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