(original) (raw)

changeset: 104083:112060f8abe8 branch: 3.5 parent: 104078:e9f34d382eda user: Berker Peksag berker.peksag@gmail.com date: Mon Sep 26 23:22:22 2016 +0300 files: Doc/library/multiprocessing.rst description: Issue #10673: Document that Process.exitcode can be used to determine timeout Patch by Tom Clark. diff -r e9f34d382eda -r 112060f8abe8 Doc/library/multiprocessing.rst --- a/Doc/library/multiprocessing.rst Mon Sep 26 23:06:32 2016 +0300 +++ b/Doc/library/multiprocessing.rst Mon Sep 26 23:22:22 2016 +0300 @@ -496,6 +496,9 @@ If the optional argument *timeout* is ``None`` (the default), the method blocks until the process whose :meth:`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 :attr:`exitcode` to determine if + it terminated. A process can be joined many times. /berker.peksag@gmail.com