Example #1
0
 public override Lock MakeLock(string lockName)
 {
     lock (Locker)
     {
         return(new MultiIndexLock(_master.MakeLock(lockName), _child.MakeLock(lockName)));
     }
 }
Example #2
0
 public override Lock MakeLock(System.String lockName)
 {
     lock (this)
     {
         return(new CheckedLock(this, lf.MakeLock(lockName)));
     }
 }
Example #3
0
 public override Lock MakeLock(string name)
 {
     return(_lockFactory.MakeLock(name));
 }
 public override Lock MakeLock(string name)
 => _lockFactory.MakeLock(name);