InterruptMonitor类
InterruptMonitor类
代表有关中断的所有操作符。
继承: InterruptMonitor
InterruptMonitor 类型公开以下成员:
构造函数
构造函数 | 描述 |
---|---|
__init__(self) | 构造一个新的 InterruptMonitor 实例 |
属性
属性 | 描述 |
---|---|
is_interruption_requested | 将监视器标记为请求中断 |
terminate_without_exception |
方法
方法 | 描述 |
---|---|
interrupt(self) | 中断当前操作员。 |