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