def join ( self ) : for thread in self . worker_threads : thread . join ( ) WorkerThread . join ( self )
python thread join outer thread
Joins the coordinator thread and all worker threads .
def join(self):
        """Joins the coordinator thread and all worker threads."""
        for thread in self.worker_threads:
            thread.join()
        WorkerThread.join(self)