# | Line 73 | Line 73 | public class CancellableTask implements | |
---|---|---|
73 | if (mayInterruptIfRunning && | |
74 | r != null && | |
75 | r instanceof Thread && | |
76 | – | r != Thread.currentThread() && |
76 | runnerUpdater.compareAndSet(this, r, CANCELLED)) | |
77 | ||
78 | ((Thread)r).interrupt(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |