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.96 by jsr166, Thu Jun 30 15:32:21 2011 UTC vs.
Revision 1.97 by dl, Wed Nov 16 18:24:14 2011 UTC

# Line 378 | Line 378 | public class FutureTask<V> implements Ru
378                      q.thread = null;
379                  return s;
380              }
381 +            else if (s == COMPLETING) // cannot time out yet
382 +                Thread.yield();
383              else if (q == null)
384                  q = new WaitNode();
385              else if (!queued)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines