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.java353 private static final int SHUTDOWN = 0 << COUNT_BITS; field in ThreadPoolExecutor
377 return c < SHUTDOWN; in isRunning()
664 (runStateOf(c) == SHUTDOWN && ! workQueue.isEmpty())) in tryTerminate()
812 return rs == RUNNING || (rs == SHUTDOWN && shutdownOK); in isRunningOrShutdown()
871 if (rs >= SHUTDOWN && in addWorker()
872 ! (rs == SHUTDOWN && in addWorker()
906 if (rs < SHUTDOWN || in addWorker()
907 (rs == SHUTDOWN && firstTask == null)) { in addWorker()
1017 if (rs >= SHUTDOWN && (rs >= STOP || workQueue.isEmpty())) { in getTask()
1356 advanceRunState(SHUTDOWN); in shutdown()
[all …]
DForkJoinPool.java1213 private static final int SHUTDOWN = 1 << 31; field in ForkJoinPool
1340 int nps = (ps & SHUTDOWN) | ((ps + PL_LOCK) & ~SHUTDOWN); in registerWorker()
1388 int nps = (ps & SHUTDOWN) | ((ps + PL_LOCK) & ~SHUTDOWN); in deregisterWorker()
1539 int nps = (ps & SHUTDOWN) | ((ps + PL_LOCK) & ~SHUTDOWN); in fullExternalPush()
1574 int nps = (ps & SHUTDOWN) | ((ps + PL_LOCK) & ~SHUTDOWN); in fullExternalPush()
2212 int nps = ((ps + PL_LOCK) & ~SHUTDOWN) | SHUTDOWN; in tryTerminate()