1 |
|
/* |
2 |
|
* Written by Doug Lea and Martin Buchholz with assistance from members |
3 |
|
* of JCP JSR-166 Expert Group and released to the public domain, as |
4 |
< |
* explained at http://creativecommons.org/licenses/publicdomain |
4 |
> |
* explained at http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
* |
6 |
|
* Other contributors include Andrew Wright, Jeffrey Hayes, |
7 |
|
* Pat Fisher, Mike Judd. |
90 |
|
}}); |
91 |
|
|
92 |
|
threadStarted.await(); |
93 |
< |
Thread.sleep(SHORT_DELAY_MS); |
93 |
> |
delay(SHORT_DELAY_MS); |
94 |
|
assertTrue(t.isAlive()); |
95 |
|
t.interrupt(); |
96 |
|
awaitTermination(t, MEDIUM_DELAY_MS); |