952 |
|
|
953 |
|
/** |
954 |
|
* Polls for and executes the given task or any other task in |
955 |
< |
* its CountedCompleter computation |
955 |
> |
* its CountedCompleter computation. |
956 |
|
*/ |
957 |
|
final boolean pollAndExecCC(ForkJoinTask<?> root) { |
958 |
|
ForkJoinTask<?>[] a; int b; Object o; |
3166 |
|
|
3167 |
|
/** |
3168 |
|
* Waits and/or attempts to assist performing tasks indefinitely |
3169 |
< |
* until the {@link #commonPool()} {@link #isQuiescent} |
3169 |
> |
* until the {@link #commonPool()} {@link #isQuiescent}. |
3170 |
|
*/ |
3171 |
|
static void quiesceCommonPool() { |
3172 |
|
common.awaitQuiescence(Long.MAX_VALUE, TimeUnit.NANOSECONDS); |