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

# Line 788 | Line 788 | public class AbstractQueuedLongSynchroni
788              public void realRun() throws InterruptedException {
789                  sync.acquire(1);
790                  c.await();
791                sync.release(1);
791              }});
792  
793          t.start();
# Line 808 | Line 807 | public class AbstractQueuedLongSynchroni
807              public void realRun() throws InterruptedException {
808                  sync.acquire(1);
809                  c.awaitNanos(1000 * 1000 * 1000); // 1 sec
811                sync.release(1);
810              }});
811  
812          t.start();
# Line 829 | Line 827 | public class AbstractQueuedLongSynchroni
827                  sync.acquire(1);
828                  java.util.Date d = new java.util.Date();
829                  c.awaitUntil(new java.util.Date(d.getTime() + 10000));
832                sync.release(1);
830              }});
831  
832          t.start();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines