parameters: (self, timeout=None)
docstring: Wait until child process terminates
docstring_summary: Wait until child process terminates
docstring_tokens: Wait until child process terminates
function: def join(self, timeout=None):
          '''
          Wait until child process terminates
          '''
          assert self._parent_pid == os.getpid(), 'can only join a child process'
          assert self._popen is not None, 'can only join a started process'
          res = self._popen.wait(timeout)
          if res is not None:
              _current_process._children.discard(self)
function_tokens: def join ( self , timeout = None ) : assert self . _parent_pid == os . getpid ( ) , 'can only join a child process' assert self . _popen is not None , 'can only join a started process' res = self . _popen . wait ( timeout ) if res is not None : _current_process . _children . discard ( self )