Searched refs:SHUTDOWN (Results 1 – 3 of 3) sorted by relevance
405 private static final int SHUTDOWN = 0 << COUNT_BITS; field in ThreadPoolExecutor429 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 …]
1490 private static final int SHUTDOWN = 1 << 31; field in ForkJoinPool2421 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()
329 private static final int SHUTDOWN = 0; // 0x0 field in ThreadPoolExecutor