MCPcopy Index your code
hub / github.com/RustPython/RustPython / join

Method join

Lib/multiprocessing/process.py:142–151  ·  view source on GitHub ↗

Wait until child process terminates

(self, timeout=None)

Source from the content-addressed store, hash-verified

140 self._popen.kill()
141
142 def join(self, timeout=None):
143 '''
144 Wait until child process terminates
145 '''
146 self._check_closed()
147 assert self._parent_pid == os.getpid(), 'can only join a child process'
148 assert self._popen is not None, 'can only join a started process'
149 res = self._popen.wait(timeout)
150 if res is not None:
151 _children.discard(self)
152
153 def is_alive(self):
154 '''

Callers 2

__init__Method · 0.45
__repr__Method · 0.45

Calls 3

_check_closedMethod · 0.95
waitMethod · 0.45
discardMethod · 0.45

Tested by

no test coverage detected