public void CloseThreadWaiter() { if (_waiterEntry != null) { _waiterEntry.Close(); _waiterEntry = null; } }
protected virtual void Dispose(bool disposing) { if (!_isDisposed) { _isDisposed = true; Cleanup(); _headWaiterEntry.Close(); } }