Searched refs:SHUTDOWN (Results 1 – 2 of 2) sorted by relevance
373 private static final int SHUTDOWN = 0 << COUNT_BITS; field in ThreadPoolExecutor397 return c < SHUTDOWN; in isRunning()685 (runStateOf(c) == SHUTDOWN && ! workQueue.isEmpty())) in tryTerminate()833 return rs == RUNNING || (rs == SHUTDOWN && shutdownOK); in isRunningOrShutdown()892 if (rs >= SHUTDOWN && in addWorker()893 ! (rs == SHUTDOWN && in addWorker()927 if (rs < SHUTDOWN || in addWorker()928 (rs == SHUTDOWN && firstTask == null)) { in addWorker()1038 if (rs >= SHUTDOWN && (rs >= STOP || workQueue.isEmpty())) { in getTask()1378 advanceRunState(SHUTDOWN); in shutdown()[all …]
1458 private static final int SHUTDOWN = 1 << 31; field in ForkJoinPool2389 U.compareAndSwapInt(this, RUNSTATE, rs, rs | SHUTDOWN); in tryTerminate()2441 runState = (STARTED | SHUTDOWN | STOP | TERMINATED); // final write in tryTerminate()3104 (rs & SHUTDOWN) != 0 ? "Shutting down" : in toString()3194 return (runState & SHUTDOWN) != 0; in isShutdown()