475 |
|
} |
476 |
|
|
477 |
|
/** |
478 |
< |
* Timed await without a signal times out |
478 |
> |
* Timed await without a signal times out |
479 |
|
*/ |
480 |
|
public void testAwait_Timeout() throws InterruptedException { |
481 |
|
final Mutex sync = new Mutex(); |
951 |
|
/** |
952 |
|
* acquireSharedTimed returns after release |
953 |
|
*/ |
954 |
< |
public void testAsquireSharedTimed() throws InterruptedException { |
954 |
> |
public void testAcquireSharedTimed() throws InterruptedException { |
955 |
|
final BooleanLatch l = new BooleanLatch(); |
956 |
|
|
957 |
|
Thread t = new Thread(new CheckedRunnable() { |