def join(self):
"""Will wait till all the processes are terminated
"""
try:
self._process_queue.join()
except KeyboardInterrupt:
six.print_("\nTerminating, please wait...", file=sys.stderr)
self._process_queue.join()
self._running = False
评论列表
文章目录