Home
last modified time | relevance | path

Searched refs:SHUTDOWN (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java373 private static final int SHUTDOWN = 0 << COUNT_BITS; field in ThreadPoolExecutor
397 return c < SHUTDOWN; in isRunning()
685 (runStateOf(c) == SHUTDOWN && ! workQueue.isEmpty())) in tryTerminate()
833 return rs == RUNNING || (rs == SHUTDOWN && shutdownOK); in isRunningOrShutdown()
892 if (rs >= SHUTDOWN && in addWorker()
893 ! (rs == SHUTDOWN && in addWorker()
927 if (rs < SHUTDOWN || in addWorker()
928 (rs == SHUTDOWN && firstTask == null)) { in addWorker()
1038 if (rs >= SHUTDOWN && (rs >= STOP || workQueue.isEmpty())) { in getTask()
1378 advanceRunState(SHUTDOWN); in shutdown()
[all …]
DForkJoinPool.java1458 private static final int SHUTDOWN = 1 << 31; field in ForkJoinPool
2389 U.compareAndSwapInt(this, RUNSTATE, rs, rs | SHUTDOWN); in tryTerminate()
2441 runState = (STARTED | SHUTDOWN | STOP | TERMINATED); // final write in tryTerminate()
3104 (rs & SHUTDOWN) != 0 ? "Shutting down" : in toString()
3194 return (runState & SHUTDOWN) != 0; in isShutdown()