Searched refs:mainLock (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/awt/
H A DAWTAutoShutdown.java68 private final Object mainLock = new Object(); field in class:AWTAutoShutdown
94 * we should work with in under activationLock&mainLock lock.
169 synchronized (mainLock) {
173 mainLock.notifyAll();
195 synchronized (mainLock) {
198 mainLock.notifyAll();
213 synchronized (mainLock) {
217 mainLock.notifyAll();
250 synchronized (mainLock) {
256 mainLock
[all...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DThreadPoolExecutor.java453 * also hold mainLock on shutdown and shutdownNow, for the sake of
457 private final ReentrantLock mainLock = new ReentrantLock(); field in class:ThreadPoolExecutor
461 * holding mainLock.
468 private final Condition termination = mainLock.newCondition();
472 * mainLock.
478 * worker threads. Accessed only under mainLock.
699 final ReentrantLock mainLock = this.mainLock;
700 mainLock.lock();
712 mainLock
[all...]

Completed in 42 milliseconds