1485 |
|
} |
1486 |
|
|
1487 |
|
/** |
1488 |
< |
* awaitQuiescent by a worker is equivalent in effect to |
1488 |
> |
* awaitQuiescence by a worker is equivalent in effect to |
1489 |
|
* ForkJoinTask.helpQuiesce() |
1490 |
|
*/ |
1491 |
< |
public void testAwaitQuiescent1() throws Exception { |
1491 |
> |
public void testAwaitQuiescence1() throws Exception { |
1492 |
|
final ForkJoinPool p = new ForkJoinPool(); |
1493 |
|
try { |
1494 |
|
final long startTime = System.nanoTime(); |
1541 |
|
} |
1542 |
|
|
1543 |
|
/** |
1544 |
< |
* awaitQuiescent returns when pool isQuiescent() or the indicated |
1545 |
< |
* timeout elapse |
1544 |
> |
* awaitQuiescence returns when pool isQuiescent() or the indicated |
1545 |
> |
* timeout elapsed |
1546 |
|
*/ |
1547 |
< |
public void testAwaitQuiescent2() throws Exception { |
1547 |
> |
public void testAwaitQuiescence2() throws Exception { |
1548 |
|
final ForkJoinPool p = new ForkJoinPool(); |
1549 |
|
try { |
1550 |
|
assertTrue(p.isQuiescent()); |