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

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DForkJoinTask.java211 * waits by other threads have the SIGNAL bit set. Completion of
212 * a stolen task with SIGNAL set awakens any waiters via
227 private static final int SIGNAL = 1; field in class:ForkJoinTask
260 UNSAFE.compareAndSwapInt(this, statusOffset, 0, SIGNAL))) &&
284 0, SIGNAL);
313 0, SIGNAL);
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/
H A DAbstractQueuedLongSynchronizer.java166 static final int SIGNAL = -1; field in class:AbstractQueuedLongSynchronizer.Node
177 * SIGNAL: The successor of this node is (or will soon be)
463 if (ws == Node.SIGNAL) {
464 if (!compareAndSetWaitStatus(h, Node.SIGNAL, 0))
493 * PROPAGATE status may transition to SIGNAL.)
547 ((ws = pred.waitStatus) == Node.SIGNAL ||
548 (ws <= 0 && compareAndSetWaitStatus(pred, ws, Node.SIGNAL))) &&
572 if (ws == Node.SIGNAL)
593 compareAndSetWaitStatus(pred, ws, Node.SIGNAL);
1461 if (ws > 0 || !compareAndSetWaitStatus(p, ws, Node.SIGNAL))
[all...]
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)
686 if (ws == Node.SIGNAL) {
687 if (!compareAndSetWaitStatus(h, Node.SIGNAL, 0))
716 * PROPAGATE status may transition to SIGNAL.)
770 ((ws = pred.waitStatus) == Node.SIGNAL ||
771 (ws <= 0 && compareAndSetWaitStatus(pred, ws, Node.SIGNAL))) &&
795 if (ws == Node.SIGNAL)
816 compareAndSetWaitStatus(pred, ws, Node.SIGNAL);
1684 if (ws > 0 || !compareAndSetWaitStatus(p, ws, Node.SIGNAL))
[all...]

Completed in 34 milliseconds