Searched defs:SIGNAL (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
H A DForkJoinTask.java230 * undergoing blocking waits by other threads have the SIGNAL bit
231 * set. Completion of a stolen task with SIGNAL set awakens any
252 static final int SIGNAL = 0x00010000; // must be >= 1 << 16 field in class:ForkJoinTask
296 * If not done, sets SIGNAL status and performs Object.wait(timeout).
304 U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) {
326 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) {
360 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) {
1038 U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) {
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
H A DAbstractQueuedSynchronizer.java389 static final int SIGNAL = -1; field in class:AbstractQueuedSynchronizer.Node
400 * SIGNAL: The successor of this node is (or will soon be)
718 if (ws == Node.SIGNAL) {
719 if (!h.compareAndSetWaitStatus(Node.SIGNAL, 0))
749 * PROPAGATE status may transition to SIGNAL.)
804 ((ws = pred.waitStatus) == Node.SIGNAL ||
805 (ws <= 0 && pred.compareAndSetWaitStatus(ws, Node.SIGNAL))) &&
829 if (ws == Node.SIGNAL)
850 pred.compareAndSetWaitStatus(ws, Node.SIGNAL);
1707 if (ws > 0 || !p.compareAndSetWaitStatus(ws, Node.SIGNAL))
[all...]

Completed in 53 milliseconds