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.29 by jsr166, Sun Aug 2 17:19:24 2009 UTC vs.
Revision 1.30 by dl, Sun Aug 2 22:28:23 2009 UTC

# Line 884 | Line 884 | public abstract class ForkJoinTask<V> im
884       * this task, but only if reuse occurs when this task has either
885       * never been forked, or has been forked, then completed and all
886       * outstanding joins of this task have also completed. Effects
887 <     * under any other usage conditions are not guaranteed, and are
888 <     * discouraged. This method may be useful when executing
887 >     * under any other usage conditions are not guaranteed.
888 >     * This method may be useful when executing
889       * pre-constructed trees of subtasks in loops.
890       */
891      public void reinitialize() {
# Line 965 | Line 965 | public abstract class ForkJoinTask<V> im
965       * ForkJoinTask computations (as may be determined using method
966       * {@link #inForkJoinPool}). Attempts to invoke in other contexts
967       * result in exceptions or errors, possibly including
968 <     * ClassCastException.  *
968 >     * ClassCastException.
969       * @return the surplus number of tasks, which may be negative
970       */
971      public static int getSurplusQueuedTaskCount() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines