Lines Matching defs:COMPLETING
80 * transient values of COMPLETING (while outcome is being set) or
87 * NEW -> COMPLETING -> NORMAL
88 * NEW -> COMPLETING -> EXCEPTIONAL
94 private static final int COMPLETING = 1;
186 if (s <= COMPLETING)
199 if (s <= COMPLETING &&
200 (s = awaitDone(true, unit.toNanos(timeout))) <= COMPLETING)
226 if (UNSAFE.compareAndSwapInt(this, stateOffset, NEW, COMPLETING)) {
244 if (UNSAFE.compareAndSwapInt(this, stateOffset, NEW, COMPLETING)) {
361 // assert state > COMPLETING;
404 if (s > COMPLETING) {
409 else if (s == COMPLETING) // cannot time out yet