diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2022-08-21 02:09:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-21 02:09:05 (GMT) |
commit | bcc4cb0c7d5e0590928e74cae86b0a7938c0f74b (patch) | |
tree | 2cc324a1b3b4e6e1abc0af657fc7c53a556b908d /Doc/library/multiprocessing.rst | |
parent | 6ec57e7c5af6816178d34233a4da12eb0c21c9d9 (diff) | |
download | cpython-bcc4cb0c7d5e0590928e74cae86b0a7938c0f74b.zip cpython-bcc4cb0c7d5e0590928e74cae86b0a7938c0f74b.tar.gz cpython-bcc4cb0c7d5e0590928e74cae86b0a7938c0f74b.tar.bz2 |
gh-96098: Clearly link concurrent.futures from threading & multiprocessing docs (GH-96112)
Clearly link concurrent.futures from threading & multiprocessing docs
Also link directly to asyncio from the beginning of the threading docs.
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r-- | Doc/library/multiprocessing.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index eaa9464..caf24a3 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -45,6 +45,16 @@ will print to standard output :: [1, 4, 9] +.. seealso:: + + :class:`concurrent.futures.ProcessPoolExecutor` offers a higher level interface + to push tasks to a background process without blocking execution of the + calling process. Compared to using the :class:`~multiprocessing.pool.Pool` + interface directly, the :mod:`concurrent.futures` API more readily allows + the submission of work to the underlying process pool to be separated from + waiting for the results. + + The :class:`Process` class ~~~~~~~~~~~~~~~~~~~~~~~~~~ |