Issue #8028: multiprocessing: Documented that `Process.terminate
`
is only intented for use by the parent process.
This commit is contained in:
parent
518eaa8a76
commit
ff7ffdd752
@ -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
|
acquired a lock or semaphore etc. then terminating it is liable to
|
||||||
cause other processes to deadlock.
|
cause other processes to deadlock.
|
||||||
|
|
||||||
Note that the :meth:`start`, :meth:`join`, :meth:`is_alive` and
|
Note that the :meth:`start`, :meth:`join`, :meth:`is_alive`,
|
||||||
:attr:`exit_code` methods should only be called by the process that created
|
:meth:`terminate` and :attr:`exit_code` methods should only be called by
|
||||||
the process object.
|
the process that created the process object.
|
||||||
|
|
||||||
Example usage of some of the methods of :class:`Process`:
|
Example usage of some of the methods of :class:`Process`:
|
||||||
|
|
||||||
|
@ -2879,6 +2879,9 @@ Build
|
|||||||
Documentation
|
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
|
- Issue #7707: Document that ``multiprocessing.Queue`` operations during import
|
||||||
can lead to deadlocks.
|
can lead to deadlocks.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user