# | 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(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |