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

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DLinkedBlockingQueue.java85 * waiting puts. Similarly for the takeLock. The "count" field
88 * for puts to get takeLock and vice-versa, cascading notifies are
100 * or by acquiring the takeLock, and then reading n = count.get();
153 private final ReentrantLock takeLock = new ReentrantLock(); field in class:LinkedBlockingQueue
156 private final Condition notEmpty = takeLock.newCondition();
166 * otherwise ordinarily lock takeLock.)
169 final ReentrantLock takeLock = this.takeLock;
170 takeLock.lock();
174 takeLock
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Component.cpp1424 BOOL takeLock = FALSE; local
1430 takeLock = TRUE;
1439 takeLock = TRUE;
1443 if (takeLock) {

Completed in 81 milliseconds