internal Lock(LockingQueue queue, LockingMode mode, AccessType accessType) { Queue = queue; AccessType = accessType; Mode = mode; Queue.Acquire(this); }