Lines Matching refs:putLock
83 * A variant of the "two lock queue" algorithm. The putLock gates
97 * Whenever an element is enqueued, the putLock is acquired and
99 * enqueued Node by either acquiring the putLock (via fullyLock)
159 private final ReentrantLock putLock = new ReentrantLock();
162 private final Condition notFull = putLock.newCondition();
182 final ReentrantLock putLock = this.putLock;
183 putLock.lock();
187 putLock.unlock();
197 // assert putLock.isHeldByCurrentThread();
223 putLock.lock();
232 putLock.unlock();
239 // return (putLock.isHeldByCurrentThread() &&
276 final ReentrantLock putLock = this.putLock;
277 putLock.lock(); // Never contended, but necessary for visibility
290 putLock.unlock();
336 final ReentrantLock putLock = this.putLock;
338 putLock.lockInterruptibly();
356 putLock.unlock();
377 final ReentrantLock putLock = this.putLock;
379 putLock.lockInterruptibly();
391 putLock.unlock();
416 final ReentrantLock putLock = this.putLock;
417 putLock.lock();
426 putLock.unlock();