Пример #1
0
 private void ReleaseLocks()
 {
     lock (this)
     {
         _exclusiveLocks.forEachValue(_typeWriteReleaser);
         _sharedLocks.forEachValue(_typeReadReleaser);
         _exclusiveLocks.clear();
         _sharedLocks.clear();
     }
 }