# | Line 591 | Line 591 | public class Exchanger<V> { | |
---|---|---|
591 | long ns = unit.toNanos(timeout); | |
592 | if ((arena != null || | |
593 | (v = slotExchange(item, true, ns)) == null) && | |
594 | < | ((Thread.interrupted() || |
595 | < | (v = arenaExchange(item, true, ns)) == null))) |
594 | > | (Thread.interrupted() || |
595 | > | (v = arenaExchange(item, true, ns)) == null)) |
596 | throw new InterruptedException(); | |
597 | if (v == TIMED_OUT) | |
598 | throw new TimeoutException(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |