# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |