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

Comparing jsr166/src/main/java/util/concurrent/CompletableFuture.java (file contents):
Revision 1.23 by jsr166, Mon Dec 31 17:49:27 2012 UTC vs.
Revision 1.24 by jsr166, Mon Dec 31 17:50:56 2012 UTC

# Line 86 | Line 86 | public class CompletableFuture<T> implem
86       *
87       * 3. Completions are also kept in a list/stack, and pulled off
88       * and run when completion is triggered. (We could in fact use the
89 <     * the same stack as for waiters, but would give up the potential
89 >     * same stack as for waiters, but would give up the potential
90       * parallelism obtained because woken waiters help release/run
91       * others (see method postComplete).  Because post-processing may
92       * race with direct calls, completions extend AtomicInteger so

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines