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.4 by dl, Thu May 18 10:29:23 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 +            Thread.sleep(SHORT_DELAY_MS);
470              sync.release(1);
471              t.join();
472          } catch(Exception e){
# Line 953 | Line 955 | public class AbstractQueuedLongSynchroni
955              sync.acquire(1);
956              c.signal();
957              sync.release(1);
956            assert(t.isInterrupted());
958              t.join(SHORT_DELAY_MS);
959              assertFalse(t.isAlive());
960          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines