触发事件(设置信号)。
set()
示例
请参考threading.Event()章节中的示例。
threading.Event()
参考
clear wait isSet
clear
wait
isSet
备注
如果信号已经通过set()设置,则不能重复设置,需要先清除信号后才能重新设置。