Commit ff7ffdd7 authored by Ask Solem's avatar Ask Solem

Issue #8028: multiprocessing: Documented that ``Process.terminate``

is only intented for use by the parent process.
parent 518eaa8a
......@@ -422,9 +422,9 @@ The :mod:`multiprocessing` package mostly replicates the API of the
acquired a lock or semaphore etc. then terminating it is liable to
cause other processes to deadlock.
Note that the :meth:`start`, :meth:`join`, :meth:`is_alive` and
:attr:`exit_code` methods should only be called by the process that created
the process object.
Note that the :meth:`start`, :meth:`join`, :meth:`is_alive`,
:meth:`terminate` and :attr:`exit_code` methods should only be called by
the process that created the process object.
Example usage of some of the methods of :class:`Process`:
......
......@@ -2879,6 +2879,9 @@ Build
Documentation
-------------
- Issue #8028: ``terminate()`` was missing from the list of
``multiprocessing.Process`` methods only intended for use by the parent.
- Issue #7707: Document that ``multiprocessing.Queue`` operations during import
can lead to deadlocks.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment