internal bool Free(PoolChunk <T> chunk, long handle)
 {
     chunk.Free(handle);
     if (chunk.Usage < this.minUsage)
     {
         this.Remove(chunk);
         // Move the PoolChunk down the PoolChunkList linked-list.
         return(this.Move0(chunk));
     }
     return(true);
 }
Exemple #2
0
 internal bool Free(PoolChunk <T> chunk, long handle)
 {
     chunk.Free(handle);
     if (chunk._freeBytes > _freeMaxThreshold)
     {
         Remove(chunk);
         // Move the PoolChunk down the PoolChunkList linked-list.
         return(Move0(chunk));
     }
     return(true);
 }