# | Line 978 | Line 978 | public abstract class ForkJoinTask<V> im | |
---|---|---|
978 | if (Thread.interrupted()) | |
979 | throw new InterruptedException(); | |
980 | // Messy in part because we measure in nanosecs, but wait in millisecs | |
981 | < | int s; long ns, ms; |
982 | < | if ((s = status) >= 0 && (ns = unit.toNanos(timeout)) > 0L) { |
981 | > | int s; long ms; |
982 | > | long ns = unit.toNanos(timeout); |
983 | > | if ((s = status) >= 0 && ns > 0L) { |
984 | long deadline = System.nanoTime() + ns; | |
985 | ForkJoinPool p = null; | |
986 | ForkJoinPool.WorkQueue w = null; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |