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.136 by jsr166, Sat Jan 12 18:00:06 2013 UTC vs.
Revision 1.137 by jsr166, Sat Jan 12 18:28:42 2013 UTC

# Line 1060 | Line 1060 | public class ThreadPoolExecutor extends
1060       * usually leads processWorkerExit to replace this thread.
1061       *
1062       * 2. Before running any task, the lock is acquired to prevent
1063 <     * other pool interrupts while the task is executing, and
1064 <     * clearInterruptsForTaskRun called to ensure that unless pool is
1065 <     * stopping, this thread does not have its interrupt set.
1063 >     * other pool interrupts while the task is executing, and then we
1064 >     * ensure that unless pool is stopping, this thread does not have
1065 >     * its interrupt set.
1066       *
1067       * 3. Each task run is preceded by a call to beforeExecute, which
1068       * might throw an exception, in which case we cause thread to die

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines