Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java402 private static final int SHUTDOWN = 0 << COUNT_BITS; field in ThreadPoolExecutor
426 return c < SHUTDOWN; in isRunning()
714 (runStateOf(c) == SHUTDOWN && ! workQueue.isEmpty())) in tryTerminate()
862 return rs == RUNNING || (rs == SHUTDOWN && shutdownOK); in isRunningOrShutdown()
921 if (rs >= SHUTDOWN && in addWorker()
922 ! (rs == SHUTDOWN && in addWorker()
956 if (rs < SHUTDOWN || in addWorker()
957 (rs == SHUTDOWN && firstTask == null)) { in addWorker()
1067 if (rs >= SHUTDOWN && (rs >= STOP || workQueue.isEmpty())) { in getTask()
1407 advanceRunState(SHUTDOWN); in shutdown()
[all …]
DForkJoinPool.java1487 private static final int SHUTDOWN = 1 << 31; field in ForkJoinPool
2418 U.compareAndSwapInt(this, RUNSTATE, rs, rs | SHUTDOWN); in tryTerminate()
2470 runState = (STARTED | SHUTDOWN | STOP | TERMINATED); // final write in tryTerminate()
3133 (rs & SHUTDOWN) != 0 ? "Shutting down" : in toString()
3223 return (runState & SHUTDOWN) != 0; in isShutdown()