Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java405 private static final int SHUTDOWN = 0 << COUNT_BITS; field in ThreadPoolExecutor
429 return c < SHUTDOWN; in isRunning()
719 (runStateOf(c) == SHUTDOWN && ! workQueue.isEmpty())) in tryTerminate()
867 return rs == RUNNING || (rs == SHUTDOWN && shutdownOK); in isRunningOrShutdown()
926 if (rs >= SHUTDOWN && in addWorker()
927 ! (rs == SHUTDOWN && in addWorker()
961 if (rs < SHUTDOWN || in addWorker()
962 (rs == SHUTDOWN && firstTask == null)) { in addWorker()
1072 if (rs >= SHUTDOWN && (rs >= STOP || workQueue.isEmpty())) { in getTask()
1412 advanceRunState(SHUTDOWN); in shutdown()
[all …]
DForkJoinPool.java1490 private static final int SHUTDOWN = 1 << 31; field in ForkJoinPool
2421 U.compareAndSwapInt(this, RUNSTATE, rs, rs | SHUTDOWN); in tryTerminate()
2473 runState = (STARTED | SHUTDOWN | STOP | TERMINATED); // final write in tryTerminate()
3136 (rs & SHUTDOWN) != 0 ? "Shutting down" : in toString()
3226 return (runState & SHUTDOWN) != 0; in isShutdown()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java329 private static final int SHUTDOWN = 0; // 0x0 field in ThreadPoolExecutor