判断事件(信号)是否已被设置。
isSet()
示例
请参考threading.Event()章节中的示例。
threading.Event()
返回值
bool
事件(信号)的设置状态;如果事件(信号)已被设置,则返回真值。
参考
set clear wait
set
clear
wait