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

Comparing jsr166/src/jsr166y/ForkJoinTask.java (file contents):
Revision 1.83 by jsr166, Thu Jan 26 19:09:03 2012 UTC vs.
Revision 1.84 by jsr166, Sat Jan 28 04:32:25 2012 UTC

# Line 93 | Line 93 | import java.lang.reflect.Constructor;
93   * performs the most common form of parallel invocation: forking a set
94   * of tasks and joining them all.
95   *
96 < * <p>In the most typical usages, a fork-join pair act like a a call
96 > * <p>In the most typical usages, a fork-join pair act like a call
97   * (fork) and return (join) from a parallel recursive function. As is
98   * the case with other forms of recursive calls, returns (joins)
99   * should be performed innermost-first. For example, {@code a.fork();
# Line 143 | Line 143 | import java.lang.reflect.Constructor;
143   * use these {@code protected} methods or marks for any purpose, but
144   * they may be of use in the construction of specialized subclasses.
145   * For example, parallel graph traversals can use the supplied methods
146 < * to avoid revisiting nodes/tasks that have already been
147 < * processed. Also, completion based designs can use them to record
148 < * that one subtask has completed. (Method names for marking are bulky
149 < * in part to encourage definition of methods that reflect their usage
146 > * to avoid revisiting nodes/tasks that have already been processed.
147 > * Also, completion based designs can use them to record that one
148 > * subtask has completed. (Method names for marking are bulky in part
149 > * to encourage definition of methods that reflect their usage
150   * patterns.)
151   *
152   * <p>Most base support methods are {@code final}, to prevent

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines