def run(self):
"""Runs the queue, goes through all of the actions and their recursive definitions."""
threads = []
for i in range(self.num_threads):
threads.append(_Action_Queue_Thread(name = '_Action_Queue_Thread' + str(i), action_queue = self))
for thread in threads:
thread.start()
print(threading.activeCount())
for thread in threads:
thread.join()
评论列表
文章目录