ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java
(Generate patch)

Comparing jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java (file contents):
Revision 1.18 by dl, Fri Jan 16 16:49:40 2004 UTC vs.
Revision 1.20 by dl, Fri Feb 24 00:03:16 2006 UTC

# Line 461 | Line 461 | public class AbstractQueuedSynchronizerT
461          Thread t = new Thread(new InterruptedSyncRunnable(sync));
462          try {
463              t.start();
464 +            Thread.sleep(SHORT_DELAY_MS);
465              t.interrupt();
466              sync.release(1);
467              t.join();
# Line 950 | Line 951 | public class AbstractQueuedSynchronizerT
951              sync.acquire(1);
952              c.signal();
953              sync.release(1);
953            assert(t.isInterrupted());
954              t.join(SHORT_DELAY_MS);
955              assertFalse(t.isAlive());
956          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines