kill a thread depending on existing of main_thread

前端 未结 0 356
不知归路
不知归路 2021-01-13 22:20

I want to create an endless thread with python3.7 that receives an input signal in the background. It should stop when my program, so main stops. I set my thread to daemon=T

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