1028 |
|
} |
1029 |
|
|
1030 |
|
/** |
1031 |
< |
* Shared version of pop |
1031 |
> |
* Shared version of pop. |
1032 |
|
*/ |
1033 |
|
final boolean trySharedUnpush(ForkJoinTask<?> task) { |
1034 |
|
boolean popped = false; |
1392 |
|
private static final long IDLE_TIMEOUT_MS = 2000L; // 2sec |
1393 |
|
|
1394 |
|
/** |
1395 |
< |
* Tolerance for idle timeouts, to cope with timer undershoots |
1395 |
> |
* Tolerance for idle timeouts, to cope with timer undershoots. |
1396 |
|
*/ |
1397 |
|
private static final long TIMEOUT_SLOP_MS = 20L; // 20ms |
1398 |
|
|
3533 |
|
} |
3534 |
|
|
3535 |
|
/** |
3536 |
< |
* Factory for innocuous worker threads |
3536 |
> |
* Factory for innocuous worker threads. |
3537 |
|
*/ |
3538 |
|
private static final class InnocuousForkJoinWorkerThreadFactory |
3539 |
|
implements ForkJoinWorkerThreadFactory { |