python - how to get the number of active threads started by specific class?

后端 未结 2 1631
孤街浪徒
孤街浪徒 2020-12-09 05:12

code looks like below:

class workers1(Thread):
...   def __init__(self):
...      Thread.__init__(self)
...   def run(self):
...      ...do some stuff 

clas         


        
2条回答
提交回复
热议问题