How do I make a global counter increment with each thread?

后端 未结 0 1164
不思量自难忘°
不思量自难忘° 2020-12-09 05:34

I am trying to make a python file that will increment a global counter by 5 for every time a thread is started. My goal is to have 4 threads increment the counter by 5 and t

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