Home
last modified time | relevance | path

Searched refs:RUNNING (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DFutureTask.java167 private static final int RUNNING = 1; field in FutureTask.Sync
299 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()
DThreadPoolExecutor.java351 private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0));
356 private static final int RUNNING = -1 << COUNT_BITS; field in ThreadPoolExecutor
813 return rs == RUNNING || (rs == SHUTDOWN && shutdownOK); in isRunningOrShutdown()