File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed
Misc/NEWS.d/next/Documentation Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,16 @@ will print to standard output ::
4545 [1, 4, 9]
4646
4747
48+ .. seealso ::
49+
50+ :class: `concurrent.futures.ProcessPoolExecutor ` offers a higher level interface
51+ to push tasks to a background process without blocking execution of the
52+ calling process. Compared to using the :class: `~multiprocessing.pool.Pool `
53+ interface directly, the :mod: `concurrent.futures ` API more readily allows
54+ the submission of work to the underlying process pool to be separated from
55+ waiting for the results.
56+
57+
4858The :class: `Process ` class
4959~~~~~~~~~~~~~~~~~~~~~~~~~~
5060
Original file line number Diff line number Diff line change 99--------------
1010
1111This module constructs higher-level threading interfaces on top of the lower
12- level :mod: `_thread ` module. See also the :mod: ` queue ` module.
12+ level :mod: `_thread ` module.
1313
1414.. versionchanged :: 3.7
1515 This module used to be optional, it is now always available.
1616
17+ .. seealso ::
18+
19+ :class: `concurrent.futures.ThreadPoolExecutor ` offers a higher level interface
20+ to push tasks to a background thread without blocking execution of the
21+ calling thread, while still being able to retrieve their results when needed.
22+
23+ :mod: `queue ` provides a thread-safe interface for exchanging data between
24+ running threads.
25+
26+ :mod: `asyncio ` offers an alternative approach to achieving task level
27+ concurrency without requiring the use of multiple operating system threads.
28+
1729.. note ::
1830
1931 In the Python 2.x series, this module contained ``camelCase `` names
Original file line number Diff line number Diff line change 1+ Improve discoverability of the higher level concurrent.futures module by
2+ providing clearer links from the lower level threading and multiprocessing
3+ modules.
You can’t perform that action at this time.
0 commit comments