# | Line 143 | Line 143 | public class FutureTask<V> implements Ru | |
---|---|---|
143 | if (t != null) | |
144 | t.interrupt(); | |
145 | } finally { // final state | |
146 | < | UNSAFE.putOrderedInt(this, stateOffset, INTERRUPTED); |
146 | > | UNSAFE.putOrderedInt(this, stateOffset, INTERRUPTED); |
147 | } | |
148 | } | |
149 | else if (!UNSAFE.compareAndSwapInt(this, stateOffset, NEW, CANCELLED)) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |