#NEWLINE# def join( self ) : #NEWLINE# #INDENT# debug ( 'joining pool' ) #NEWLINE# assert ( self . _state in ( CLOSE , TERMINATE ) ) #NEWLINE# self . _worker_handler . join ( ) #NEWLINE# self . _task_handler . join ( ) #NEWLINE# self . _result_handler . join ( ) #NEWLINE# for p in p . _pool : #NEWLINE# #INDENT# p . join ( )