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

Comparing jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java (file contents):
Revision 1.100 by dl, Sun Jul 16 20:03:54 2006 UTC vs.
Revision 1.101 by jsr166, Mon Jul 17 00:33:16 2006 UTC

# Line 386 | Line 386 | public class ThreadPoolExecutor extends
386      private volatile long  keepAliveTime;
387  
388      /**
389 <     * If false (default) core threads stay alive even when idle.  If
390 <     * true, core threads use keepAliveTime to time out waiting for
391 <     * work.
389 >     * If false (default), core threads stay alive even when idle.
390 >     * If true, core threads use keepAliveTime to time out waiting
391 >     * for work.
392       */
393      private volatile boolean allowCoreThreadTimeOut;
394  
# Line 734 | Line 734 | public class ThreadPoolExecutor extends
734       * and is still present in the queue, this task must be removed
735       * and rejected to preserve shutdownNow guarantees.  Otherwise,
736       * this method ensures (unless addThread fails) that there is at
737 <     * least one live thread to handle this task
737 >     * least one live thread to handle this task.
738       * @param command the task
739       */
740      private void ensureQueuedTaskHandled(Runnable command) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines