Beispiel #1
0
 /// <summary>
 /// Exits the protected code section
 /// </summary>
 public void Dispose()
 {
     if (_srcGate != null)
     {
         _srcGate.ExitClient();
         _srcGate = null;
     }
 }
Beispiel #2
0
 internal MutuallyExclusiveGuard(MutuallyExclusivePrimitive.MutuallyExclusiveGate srcGate)
 {
     _srcGate = srcGate;
 }