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

/libcore/ojluni/src/main/java/java/util/concurrent/
H A DLinkedBlockingQueue.java85 * A variant of the "two lock queue" algorithm. The putLock gates
99 * Whenever an element is enqueued, the putLock is acquired and
101 * enqueued Node by either acquiring the putLock (via fullyLock)
161 private final ReentrantLock putLock = new ReentrantLock(); field in class:LinkedBlockingQueue
164 private final Condition notFull = putLock.newCondition();
184 final ReentrantLock putLock = this.putLock;
185 putLock.lock();
189 putLock.unlock();
199 // assert putLock
[all...]

Completed in 202 milliseconds