Home
last modified time | relevance | path

Searched refs:SIGNAL (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedSynchronizer.java389 static final int SIGNAL = -1; field in AbstractQueuedSynchronizer.Node
718 if (ws == Node.SIGNAL) { in doReleaseShared()
719 if (!h.compareAndSetWaitStatus(Node.SIGNAL, 0)) in doReleaseShared()
804 ((ws = pred.waitStatus) == Node.SIGNAL || in cancelAcquire()
805 (ws <= 0 && pred.compareAndSetWaitStatus(ws, Node.SIGNAL))) && in cancelAcquire()
829 if (ws == Node.SIGNAL) in shouldParkAfterFailedAcquire()
850 pred.compareAndSetWaitStatus(ws, Node.SIGNAL); in shouldParkAfterFailedAcquire()
1715 if (ws > 0 || !p.compareAndSetWaitStatus(ws, Node.SIGNAL)) in transferForSignal()
DAbstractQueuedLongSynchronizer.java252 if (ws == Node.SIGNAL) { in doReleaseShared()
253 if (!h.compareAndSetWaitStatus(Node.SIGNAL, 0)) in doReleaseShared()
338 ((ws = pred.waitStatus) == Node.SIGNAL || in cancelAcquire()
339 (ws <= 0 && pred.compareAndSetWaitStatus(ws, Node.SIGNAL))) && in cancelAcquire()
363 if (ws == Node.SIGNAL) in shouldParkAfterFailedAcquire()
384 pred.compareAndSetWaitStatus(ws, Node.SIGNAL); in shouldParkAfterFailedAcquire()
1241 if (ws > 0 || !p.compareAndSetWaitStatus(ws, Node.SIGNAL)) in transferForSignal()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinTask.java252 static final int SIGNAL = 0x00010000; // must be >= 1 << 16 field in ForkJoinTask
304 U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in internalWait()
326 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in externalAwaitDone()
360 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in externalInterruptibleAwaitDone()
1038 U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in get()