ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/CountDownLatch.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/CountDownLatch.java (file contents):
Revision 1.43 by jsr166, Wed Dec 31 07:54:13 2014 UTC vs.
Revision 1.44 by jsr166, Tue Feb 17 18:55:39 2015 UTC

# Line 44 | Line 44 | import java.util.concurrent.locks.Abstra
44   * until all workers have completed.
45   * </ul>
46   *
47 < *  <pre> {@code
47 > * <pre> {@code
48   * class Driver { // ...
49   *   void main() throws InterruptedException {
50   *     CountDownLatch startSignal = new CountDownLatch(1);
# Line 85 | Line 85 | import java.util.concurrent.locks.Abstra
85   * will be able to pass through await. (When threads must repeatedly
86   * count down in this way, instead use a {@link CyclicBarrier}.)
87   *
88 < *  <pre> {@code
88 > * <pre> {@code
89   * class Driver2 { // ...
90   *   void main() throws InterruptedException {
91   *     CountDownLatch doneSignal = new CountDownLatch(N);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines