Searched refs:RUNNING (Results 1 – 2 of 2) sorted by relevance
167 private static final int RUNNING = 1; field in FutureTask.Sync299 if (!compareAndSetState(READY, RUNNING)) in innerRun()303 if (getState() == RUNNING) { // recheck after setting thread in innerRun()318 if (!compareAndSetState(READY, RUNNING)) in innerRunAndReset()322 if (getState() == RUNNING) in innerRunAndReset()325 return compareAndSetState(RUNNING, READY); in innerRunAndReset()
351 private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0));356 private static final int RUNNING = -1 << COUNT_BITS; field in ThreadPoolExecutor813 return rs == RUNNING || (rs == SHUTDOWN && shutdownOK); in isRunningOrShutdown()