def start(self):
self.executor.queue = multiprocessing.JoinableQueue()
self.executor.workers = [
QueuedLocalWorker(self.executor.queue, self.executor.result_queue)
for _ in range(self.executor.parallelism)
]
self.executor.workers_used = len(self.executor.workers)
for w in self.executor.workers:
w.start()
评论列表
文章目录