private void ReleaseLocks() { lock (this) { _exclusiveLocks.forEachValue(_typeWriteReleaser); _sharedLocks.forEachValue(_typeReadReleaser); _exclusiveLocks.clear(); _sharedLocks.clear(); } }
public virtual void Clear() { if (_outgoing != null) { _outgoing.clear(); } if (_incoming != null) { _incoming.clear(); } if (_loops != null) { _loops.clear(); } }