Searched refs:waitStatus (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
H A DAbstractQueuedSynchronizer.java386 /** waitStatus value to indicate thread has cancelled. */
388 /** waitStatus value to indicate successor's thread needs unparking. */
390 /** waitStatus value to indicate thread is waiting on condition. */
393 * waitStatus value to indicate the next acquireShared should
432 volatile int waitStatus; field in class:AbstractQueuedSynchronizer.Node
436 * for checking waitStatus. Assigned during enqueuing, and nulled
512 Node(int waitStatus) { argument
513 U.putInt(this, WAITSTATUS, waitStatus);
517 /** CASes waitStatus field. */
541 (Node.class.getDeclaredField("waitStatus"));
[all...]
H A DAbstractQueuedLongSynchronizer.java83 * If head exists, its waitStatus is guaranteed not to be
210 int ws = node.waitStatus;
221 if (s == null || s.waitStatus > 0) {
224 if (p.waitStatus <= 0)
251 int ws = h.waitStatus;
280 * or was recorded (as h.waitStatus either before
282 * (note: this uses sign-check of waitStatus because
293 if (propagate > 0 || h == null || h.waitStatus < 0 ||
294 (h = head) == null || h.waitStatus < 0) {
317 while (pred.waitStatus >
[all...]

Completed in 36 milliseconds