예제 #1
0
 public override bool IsLocked()
 {
     lock (this)
     {
         return(@lock.IsLocked());
     }
 }
예제 #2
0
 public override bool IsLocked()
 {
     UninterruptableMonitor.Enter(this);
     try
     {
         return(@lock.IsLocked());
     }
     finally
     {
         UninterruptableMonitor.Exit(this);
     }
 }