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

Comparing jsr166/src/main/java/util/concurrent/CancellableTask.java (file contents):
Revision 1.16 by dl, Fri Sep 12 15:40:10 2003 UTC vs.
Revision 1.17 by dl, Sat Sep 13 18:51:10 2003 UTC

# Line 145 | Line 145 | public class CancellableTask implements
145          return runnerUpdater.compareAndSet(this, null, Thread.currentThread());
146      }
147  
148 +    /**
149 +     * Runs the runnable if not cancelled, maintaining run status.
150 +     */
151      public void run() {
152          if (setRunning()) {
153              try {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines