public void Terminate() { terminate = true; if (queue != null) { while (!SpinLockNB()) { ; } QueuePool.Free(queue); SpinUnLock(); } }
public void Recycle() { QueuePool <ObjectType, PoolIdentifier> .Free(this); }
public void Terminate() { terminate = true; if (queue != null) { while (!SpinLockNB()) { ; } QueuePool.Free(queue); SpinUnLock(); } }
public void Recycle() { QueuePool <ObjectType, PoolIdentifier> .Free(this); }