Searched defs:putLock (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DLinkedBlockingQueue.java83 * 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(); field in class:LinkedBlockingQueue
162 private final Condition notFull = putLock.newCondition();
182 final ReentrantLock putLock = this.putLock;
183 putLock.lock();
187 putLock.unlock();
197 // assert putLock
[all...]

Completed in 30 milliseconds