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

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