Searched refs:SHUTDOWN (Results 1 – 2 of 2) sorted by relevance
353 private static final int SHUTDOWN = 0 << COUNT_BITS; field in ThreadPoolExecutor377 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 …]
1213 private static final int SHUTDOWN = 1 << 31; field in ForkJoinPool1340 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()