public void clear() { lock (_queue) { _queue.clear(); } }
/** 清空 */ public void clear() { if (_queue.isEmpty()) { return; } foreach (T v in _queue) { if (_releaseFunc != null) { _releaseFunc(v); } } _queue.clear(); if (ShineSetting.openCheck) { _checkSet.clear(); _callStackDic.clear(); } }