Searched refs:ctlOf (Results 1 – 1 of 1) sorted by relevance
367 private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0));381 private static int ctlOf(int rs, int wc) { return rs | wc; } in ctlOf() method in ThreadPoolExecutor665 ctl.compareAndSet(c, ctlOf(targetState, workerCountOf(c)))) in advanceRunState()695 if (ctl.compareAndSet(c, ctlOf(TIDYING, 0))) { in tryTerminate()699 ctl.set(ctlOf(TERMINATED, 0)); in tryTerminate()