# | Line 312 | Line 312 | public class Exchanger<V> { | |
---|---|---|
312 | } | |
313 | if (spins > 0) | |
314 | --spins; | |
315 | < | else if (!timed) |
315 | > | else if (!timed) |
316 | LockSupport.park(); | |
317 | else if (nanos > spinForTimeoutThreshold) | |
318 | LockSupport.parkNanos(nanos); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |