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

Comparing jsr166/src/main/java/util/concurrent/Exchanger.java (file contents):
Revision 1.18 by dl, Sun May 8 21:50:03 2005 UTC vs.
Revision 1.19 by jsr166, Fri May 13 00:03:15 2005 UTC

# Line 259 | Line 259 | public class Exchanger<V> {
259                  // If interrupted or timed out, try to cancel by
260                  // CASing FAIL as hole value.
261                  if (Thread.currentThread().isInterrupted() ||
262 <                    (timed && nanos <= 0))
262 >                    (timed && nanos <= 0))
263                      compareAndSet(null, FAIL);
264                  else if (!timed)
265                      LockSupport.park();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines