[cvs] / jsr166 / src / test / tck / AbstractQueuedSynchronizerTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17, Mon Jan 12 16:37:40 2004 UTC revision 1.18, Fri Jan 16 16:49:40 2004 UTC
# Line 188  Line 188 
188              sync.release(1);              sync.release(1);
189              Thread.sleep(SHORT_DELAY_MS);              Thread.sleep(SHORT_DELAY_MS);
190              assertFalse(sync.isQueued(t1));              assertFalse(sync.isQueued(t1));
191                Thread.sleep(SHORT_DELAY_MS);
192              assertFalse(sync.isQueued(t2));              assertFalse(sync.isQueued(t2));
193              t1.join();              t1.join();
194              t2.join();              t2.join();
# Line 214  Line 215 
215              assertEquals(t1, sync.getFirstQueuedThread());              assertEquals(t1, sync.getFirstQueuedThread());
216              t1.interrupt();              t1.interrupt();
217              Thread.sleep(SHORT_DELAY_MS);              Thread.sleep(SHORT_DELAY_MS);
218                Thread.sleep(SHORT_DELAY_MS);
219              assertEquals(t2, sync.getFirstQueuedThread());              assertEquals(t2, sync.getFirstQueuedThread());
220              sync.release(1);              sync.release(1);
221              Thread.sleep(SHORT_DELAY_MS);              Thread.sleep(SHORT_DELAY_MS);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8