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.30 by jsr166, Sat Nov 21 02:33:20 2009 UTC vs.
Revision 1.31 by jsr166, Sat Nov 21 17:54:04 2009 UTC

# Line 786 | Line 786 | public class AbstractQueuedSynchronizerT
786              public void realRun() throws InterruptedException {
787                  sync.acquire(1);
788                  c.await();
789                sync.release(1);
789              }});
790  
791          t.start();
# Line 806 | Line 805 | public class AbstractQueuedSynchronizerT
805              public void realRun() throws InterruptedException {
806                  sync.acquire(1);
807                  c.awaitNanos(1000 * 1000 * 1000); // 1 sec
809                sync.release(1);
808              }});
809  
810          t.start();
# Line 827 | Line 825 | public class AbstractQueuedSynchronizerT
825                  sync.acquire(1);
826                  java.util.Date d = new java.util.Date();
827                  c.awaitUntil(new java.util.Date(d.getTime() + 10000));
830                sync.release(1);
828              }});
829  
830          t.start();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines