Searched defs:SHUTDOWN (Results 1 - 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ThreadPoolExecutor.java | 364 * SHUTDOWN: Don't accept new tasks, but process queued tasks 376 * RUNNING -> SHUTDOWN 378 * (RUNNING or SHUTDOWN) -> STOP 380 * SHUTDOWN -> TIDYING 390 * Detecting the transition from SHUTDOWN to TIDYING is less 392 * empty after non-empty and vice versa during SHUTDOWN state, but 405 private static final int SHUTDOWN = 0 << COUNT_BITS; field in class:ThreadPoolExecutor 429 return c < SHUTDOWN; 461 * SHUTDOWN to TIDYING). This accommodates special-purpose 691 * @param targetState the desired state, either SHUTDOWN o [all...] |
H A D | ForkJoinPool.java | 322 * monotonically setting STARTED, SHUTDOWN, STOP, and finally 1483 // runState bits: SHUTDOWN must be negative, others arbitrary powers of two 1487 private static final int SHUTDOWN = 1 << 31; field in class:ForkJoinPool 2410 int rs; // 3 phases: try to set SHUTDOWN, then STOP, then TERMINATED 2418 U.compareAndSwapInt(this, RUNSTATE, rs, rs | SHUTDOWN); 2470 runState = (STARTED | SHUTDOWN | STOP | TERMINATED); // final write 3133 (rs & SHUTDOWN) != 0 ? "Shutting down" : 3223 return (runState & SHUTDOWN) != 0;
|
Completed in 29 milliseconds