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

Comparing jsr166/src/main/java/util/concurrent/AbstractExecutorService.java (file contents):
Revision 1.17 by dl, Sat Dec 27 19:26:25 2003 UTC vs.
Revision 1.18 by dl, Mon Feb 9 13:28:47 2004 UTC

# Line 13 | Line 13 | import java.util.*;
13   * execution methods. This class implements the <tt>submit</tt>,
14   * <tt>invokeAny</tt> and <tt>invokeAll</tt> methods using the default
15   * {@link FutureTask} class provided in this package.  For example,
16 < * the the implementation of <tt>submit(Runnable)</tt> creates an
16 > * the implementation of <tt>submit(Runnable)</tt> creates an
17   * associated <tt>FutureTask</tt> that is executed and
18   * returned. Subclasses overriding these methods to use different
19   * {@link Future} implementations should do so consistently for each
# Line 62 | Line 62 | public abstract class AbstractExecutorSe
62  
63          // For efficiency, especially in executors with limited
64          // parallelism, check to see if previously submitted tasks are
65 <        // done before submitting more of them. This interleaving,
65 >        // done before submitting more of them. This interleaving
66          // plus the exception mechanics account for messiness of main
67 <        // loop
67 >        // loop.
68  
69          try {
70              // Record exceptions so that if we fail to obtain any

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines