mirror of https://github.com/python/cpython.git
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
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue