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.1 by dl, Tue Jun 3 16:44:36 2003 UTC vs.
Revision 1.2 by dl, Fri Jun 6 16:53:04 2003 UTC

# Line 128 | Line 128 | public class CancellableTask implements
128      /**
129       * Attempt to set the state of this task to Running, succeeding
130       * only if the state is currently NOT Done, Running, or Cancelled.
131 <     * @rrturn true if successful
131 >     * @return true if successful
132       */
133      protected boolean setRunning() {
134          return runnerUpdater.compareAndSet(this, null, Thread.currentThread());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines