Пример #1
0
 public LockImpl(MetaLock metaLock, object lockId)
 {
     this.metaLock = metaLock;
     this.lockId = lockId;
     metaLock.Enter(lockId);
 }
Пример #2
0
 public LockImpl(MetaLock metaLock, object lockId)
 {
     this.metaLock = metaLock;
     this.lockId   = lockId;
     metaLock.Enter(lockId);
 }