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

Comparing jsr166/src/jsr166y/CountedCompleter.java (file contents):
Revision 1.24 by jsr166, Mon Nov 26 05:46:55 2012 UTC vs.
Revision 1.25 by jsr166, Mon Nov 26 05:55:05 2012 UTC

# Line 15 | Line 15 | package jsr166y;
15   * CountedCompleter are similar to those of other completion based
16   * components (such as {@link java.nio.channels.CompletionHandler})
17   * except that multiple <em>pending</em> completions may be necessary
18 < * to trigger the {@link #onCompletion} action, not just one. Unless
19 < * initialized otherwise, the {@link #getPendingCount pending count}
20 < * starts at zero, but may be (atomically) changed using methods
21 < * {@link #setPendingCount}, {@link #addToPendingCount}, and {@link
22 < * #compareAndSetPendingCount}. Upon invocation of {@link
18 > * to trigger the completion action {@link #onCompletion}, not just one.
19 > * Unless initialized otherwise, the {@linkplain #getPendingCount pending
20 > * count} starts at zero, but may be (atomically) changed using
21 > * methods {@link #setPendingCount}, {@link #addToPendingCount}, and
22 > * {@link #compareAndSetPendingCount}. Upon invocation of {@link
23   * #tryComplete}, if the pending action count is nonzero, it is
24   * decremented; otherwise, the completion action is performed, and if
25   * this completer itself has a completer, the process is continued

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines