Is there a standard way to create task in a thread in python that prints every 5 seconds and is stoppable every second?

后端 未结 0 409
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-19 10:27

So there is a stoppable thread pattern (Python - How can I implement a 'stoppable' thread? and see comment in Is there a stoppable thread in python's concurrent.

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