示例#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);
     }
 }