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.83 by jsr166, Thu Nov 22 00:44:42 2018 UTC vs.
Revision 1.84 by jsr166, Thu Nov 22 00:47:00 2018 UTC

# 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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines