adj. retractable ; rescissible
有些任务拒绝被中断,这使得它们是不可取消的。
Some tasks simply refuse to be interrupted, making them noncancelable.
仅仅因为一个任务是可取消的,并不意味着需要立即对中断请求作出响应。
Just because a task is cancelable does not mean it needs to respond to an interrupt request immediately.
但是,即使是不可取消的任务也应该尝试保留中断状态,以防在不可取消的任务结束之后,调用栈上更高层的代码需要对中断进行处理。
However, even noncancelable tasks should attempt to preserve the interrupted status in case code higher up on the call stack wants to act on the interruption after the noncancelable task completes.
应用推荐