Lines Matching refs:TIDYING
318 * TIDYING: All tasks have terminated, workerCount is zero,
319 * the thread transitioning to state TIDYING
331 * SHUTDOWN -> TIDYING
333 * STOP -> TIDYING
335 * TIDYING -> TERMINATED
341 * Detecting the transition from SHUTDOWN to TIDYING is less
356 private static final int TIDYING = 2 << COUNT_BITS;
410 * SHUTDOWN to TIDYING). This accommodates special-purpose
639 * (but not TIDYING or TERMINATED -- use tryTerminate for that)
664 runStateAtLeast(c, TIDYING) ||
675 if (ctl.compareAndSet(c, ctlOf(TIDYING, 0))) {
1768 return runStateAtLeast(ctl.get(), TIDYING) ? 0