ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/CyclicAction.java
(Generate patch)

Comparing jsr166/src/test/loops/CyclicAction.java (file contents):
Revision 1.2 by jsr166, Tue Nov 3 00:00:43 2009 UTC vs.
Revision 1.7 by jsr166, Wed Dec 31 17:00:58 2014 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6  
7 import java.util.concurrent.*;
7   import java.util.*;
8 + import java.util.concurrent.*;
9  
10   /**
11   * A computation that is broken into a series of task executions, each
# Line 15 | Line 15 | import java.util.*;
15   * {@code compute} method is repeatedly invoked until the barrier
16   * {@code isTerminated} or until its execution throws an exception.
17   *
18 < * <p> <b>Sample Usage.</b> Here is a sketch of a set of CyclicActions
18 > * <p><b>Sample Usage.</b> Here is a sketch of a set of CyclicActions
19   * that each perform 500 iterations of an imagined image smoothing
20   * operation. Note that the aggregate ImageSmoother task itself is not
21   * a CyclicTask.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines