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.14 by dl, Sun Aug 31 13:33:13 2003 UTC vs.
Revision 1.15 by dl, Sun Sep 7 23:28:21 2003 UTC

# Line 153 | Line 153 | public class CancellableTask implements
153      }
154  
155      /**
156 +     * Reset the run state of this task to its initial state.
157 +     */
158 +    protected void reset() {
159 +        runnerUpdater.set(this, null);
160 +    }
161 +
162 +    /**
163       * Implementation of Future methods under the control of a current
164       * <tt>CancellableTask</tt>, which it relies on for methods
165       * <tt>isDone</tt>, <tt>isCancelled</tt> and <tt>cancel</tt>. This

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines