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.51 by dl, Tue May 30 10:19:21 2006 UTC vs.
Revision 1.52 by jsr166, Thu Jun 8 08:35:22 2006 UTC

# Line 238 | Line 238 | public class FutureTask<V> implements Ru
238                  if (s == RAN)
239                      return;
240                  if (s == CANCELLED) {
241 <                    // aggressively release to set runner to null,
242 <                    // in case we are racing with a cancel request
243 <                    // that will try to interrupt runner
241 >                    // aggressively release to set runner to null,
242 >                    // in case we are racing with a cancel request
243 >                    // that will try to interrupt runner
244                      releaseShared(0);
245                      return;
246                  }
# Line 259 | Line 259 | public class FutureTask<V> implements Ru
259                  if (s == RAN)
260                      return;
261                  if (s == CANCELLED) {
262 <                    // aggressively release to set runner to null,
263 <                    // in case we are racing with a cancel request
264 <                    // that will try to interrupt runner
262 >                    // aggressively release to set runner to null,
263 >                    // in case we are racing with a cancel request
264 >                    // that will try to interrupt runner
265                      releaseShared(0);
266                      return;
267                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines