Python thread - how to wait for multiple types of termination?

后端 未结 0 1992
时光说笑
时光说笑 2020-12-22 02:32

In the following threading code:

event = threading.Event()
thread = threading.Thread(target=fn)
thread.start()
thread.j         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题