117 |
|
* method is overridable to accommodate cases in which running tasks |
118 |
|
* must be cancelled using interrupts. This may arise when adapting |
119 |
|
* Callables that cannot check {@code isCancelled()} task status. |
120 |
< |
* Tasks constructed with the (@link #adaptInterruptible) adaptor |
120 |
> |
* Tasks constructed with the {@link #adaptInterruptible} adaptor |
121 |
|
* track and interrupt the running thread upon {@code |
122 |
|
* cancel(true)}. Reliable usage requires awareness of potential |
123 |
|
* consequences: Method bodies should ignore stray interrupts to cope |