452 |
|
* @param ex the exception |
453 |
|
* @param caller the task invoking this method (which may |
454 |
|
* be this task itself) |
455 |
< |
* @return true if this exception should be propagated to this |
455 |
> |
* @return {@code true} if this exception should be propagated to this |
456 |
|
* task's completer, if one exists |
457 |
|
*/ |
458 |
|
public boolean onExceptionalCompletion(Throwable ex, CountedCompleter<?> caller) { |
502 |
|
* |
503 |
|
* @param expected the expected value |
504 |
|
* @param count the new value |
505 |
< |
* @return true if successful |
505 |
> |
* @return {@code true} if successful |
506 |
|
*/ |
507 |
|
public final boolean compareAndSetPendingCount(int expected, int count) { |
508 |
|
return U.compareAndSwapInt(this, PENDING, expected, count); |