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

/libcore/luni/src/main/java/java/util/concurrent/
H A DThreadPoolExecutor.java392 * abrupt termination of a thread (see processWorkerExit). Other
436 private final Condition termination = mainLock.newCondition(); field in class:ThreadPoolExecutor
445 * Counter for completed tasks. Updated only on termination of
526 * termination. Other uses of interruptIdleWorkers are advisory,
631 * termination possible -- reducing worker count or removing tasks
655 termination.signalAll();
715 * termination or configuration changes. Ignores
720 * called only from tryTerminate when termination is otherwise
726 * To guarantee eventual termination, it suffices to always
839 * backout of workerCount, and a recheck for termination, i
[all...]
H A DForkJoinPool.java193 * with termination, in which case it is OK to give up.
197 * allows nulling during termination, which is currently not
297 * all waiting workers. Detecting whether termination should
447 private final Condition termination; field in class:ForkJoinPool
777 * threads to check termination, which is checked here anyway, we
847 * quiescent, check for pool termination, and wait for event
851 * worker. Upon its termination (see deregisterWorker), it may
946 * on contention or termination.
1014 Thread.interrupted(); // clear interrupts before checking termination
1176 * down, tries to complete termination
[all...]

Completed in 1676 milliseconds