1778 |
|
* Version of helpJoin for CountedCompleters, also usable with |
1779 |
|
* external submitter threads. Scans for and runs subtasks of the |
1780 |
|
* given root task, compensating and blocking if none are found. |
1781 |
< |
|
1781 |
> |
* |
1782 |
|
* @param task root of CountedCompleter computation |
1783 |
|
* @param w caller's WorkQueue |
1784 |
|
* @return task status on exit, or ADJUST for compensated blocking |
2545 |
|
p.complete(r); |
2546 |
|
else |
2547 |
|
complete(r); |
2548 |
< |
} catch(Throwable ex) { |
2548 |
> |
} catch (Throwable ex) { |
2549 |
|
completeExceptionally(ex); |
2550 |
|
} |
2551 |
|
} |