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

Comparing jsr166/src/main/java/util/concurrent/FutureTask.java (file contents):
Revision 1.31 by dl, Mon Feb 9 13:28:48 2004 UTC vs.
Revision 1.32 by dl, Sat Apr 10 14:25:24 2004 UTC

# Line 160 | Line 160 | public class FutureTask<V> implements Fu
160          /**
161           * The thread running task. When nulled after set/cancel, this
162           * indicates that the results are accessible.  Must be
163 <         * volatile, to serve as write barrier on completion.
163 >         * volatile, to ensure visibility upon completion.
164           */
165          private volatile Thread runner;
166  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines