Acquire() private method

private Acquire ( Lock @lock ) : void
@lock Lock
return void
Exemplo n.º 1
0
 internal Lock(LockingQueue queue, LockingMode mode, AccessType accessType)
 {
     Queue = queue;
     AccessType = accessType;
     Mode = mode;
     Queue.Acquire(this);
 }
Exemplo n.º 2
0
 internal Lock(LockingQueue queue, LockingMode mode, AccessType accessType)
 {
     Queue      = queue;
     AccessType = accessType;
     Mode       = mode;
     Queue.Acquire(this);
 }