Lines Matching refs:status

133  * <p>The execution status of tasks may be queried at several levels
213 * responsible for maintaining their "status" field amidst relays
217 * (1) basic status maintenance
225 * The status field holds run control status bits packed into a
228 * values until completed, upon which status (anded with
242 * bits) of status field. The lower bits are used for user-defined
246 /** The run status of this task */
247 volatile int status; // accessed directly by pool and workers
260 * @return completion status on exit
264 if ((s = status) < 0)
276 * exec and records status if completed, but doesn't wait for
279 * @return status on exit from this method
283 if ((s = status) >= 0) {
296 * If not done, sets SIGNAL status and performs Object.wait(timeout).
303 if ((s = status) >= 0 && // force completer to issue notify
306 if (status >= 0)
316 * @return status upon completion
323 if (s >= 0 && (s = status) >= 0) {
328 if (status >= 0) {
339 } while ((s = status) >= 0);
353 if ((s = status) >= 0 &&
359 while ((s = status) >= 0) {
362 if (status >= 0)
378 * @return status upon completion
382 return (s = status) < 0 ? s :
393 * @return status upon completion
411 * instead recorded as status values.
452 * Records exception and sets status.
454 * @return status on exit
458 if ((s = status) >= 0) {
486 * @return status on exit
508 if (t != null && t.status >= 0) {
517 * Removes exception node and clears status.
541 status = 0;
663 * Throws exception, if any, associated with the given status.
737 * other may be cancelled. However, the execution status of
739 * status of each task may be obtained using {@link
763 * may be cancelled. However, the execution status of individual
764 * tasks is not guaranteed upon exceptional return. The status of
806 * status of individual tasks is not guaranteed upon exceptional
807 * return. The status of each task may be obtained using {@link
884 return status < 0;
888 return (status & DONE_MASK) == CANCELLED;
897 return status < NORMAL;
908 return (status & DONE_MASK) == NORMAL;
919 int s = status & DONE_MASK;
1021 if ((s = status) >= 0 && nanos > 0L) {
1035 while ((s = status) >= 0 &&
1040 if (status >= 0)
1050 s = status;
1114 if ((status & DONE_MASK) == EXCEPTIONAL)
1117 status = 0;
1321 return (short)status;
1333 if (U.compareAndSwapInt(this, STATUS, s = status,
1355 if ((short)(s = status) != expect)
1495 * @serialData the current run status and the exception thrown
1529 (ForkJoinTask.class.getDeclaredField("status"));