Searched refs:STOP (Results 1 – 2 of 2) sorted by relevance
374 private static final int STOP = 1 << COUNT_BITS; field in ThreadPoolExecutor1001 if (runStateLessThan(c, STOP)) { in processWorkerExit()1038 if (rs >= SHUTDOWN && (rs >= STOP || workQueue.isEmpty())) { in getTask()1124 if ((runStateAtLeast(ctl.get(), STOP) || in runWorker()1126 runStateAtLeast(ctl.get(), STOP))) && in runWorker()1409 advanceRunState(STOP); in shutdownNow()
1456 private static final int STOP = 1 << 1; field in ForkJoinPool1774 else if ((runState & STOP) != 0) in awaitWork()1781 if ((runState & STOP) != 0) in awaitWork()1812 if ((runState & STOP) != 0) in timedAwaitWork()1823 if ((runState & STOP) == 0 && in timedAwaitWork()1902 if ((runState & STOP) == 0) { in runWorker()2392 if ((rs & STOP) == 0) { // try to initiate termination in tryTerminate()2413 rs = runState, rs | STOP)); in tryTerminate()2441 runState = (STARTED | SHUTDOWN | STOP | TERMINATED); // final write in tryTerminate()3103 (rs & STOP) != 0 ? "Terminating" : in toString()[all …]