ID EN
Multiprocessing

join

Python 3.11

If the optional argument timeout is None (the default), the method blocks until the process whose join() method is called terminates. If timeout is a positive number, it blocks at most timeout seconds. Note that the method returns None if its process terminates or if the method times out. Check the process’s exitcode to determine if it terminated.

Syntax

PYTHON
join([timeout])

See Also

join() exitcode