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

Comparing jsr166/src/test/tck/AbstractQueuedLongSynchronizerTest.java (file contents):
Revision 1.1 by dl, Tue Mar 1 01:32:00 2005 UTC vs.
Revision 1.3 by dl, Wed Apr 5 11:24:55 2006 UTC

# Line 464 | Line 464 | public class AbstractQueuedLongSynchroni
464          Thread t = new Thread(new InterruptedSyncRunnable(sync));
465          try {
466              t.start();
467 +            Thread.sleep(SHORT_DELAY_MS);
468              t.interrupt();
469              sync.release(1);
470              t.join();
# Line 953 | Line 954 | public class AbstractQueuedLongSynchroni
954              sync.acquire(1);
955              c.signal();
956              sync.release(1);
956            assert(t.isInterrupted());
957              t.join(SHORT_DELAY_MS);
958              assertFalse(t.isAlive());
959          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines