InterruptMonitor类

InterruptMonitor类

代表有关中断的所有操作符。

继承: InterruptMonitor

InterruptMonitor 类型公开以下成员:

构造函数

构造函数描述
__init__(self)构造一个新的 InterruptMonitor 实例

属性

属性描述
is_interruption_requested将监视器标记为请求中断
terminate_without_exception

方法

方法描述
interrupt(self)中断当前操作员。

也可以看看