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 ::
45
45
[1, 4, 9]
46
46
47
47
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
+
48
58
The :class: `Process ` class
49
59
~~~~~~~~~~~~~~~~~~~~~~~~~~
50
60
Original file line number Diff line number Diff line change 9
9
--------------
10
10
11
11
This 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.
13
13
14
14
.. versionchanged :: 3.7
15
15
This module used to be optional, it is now always available.
16
16
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
+
17
29
.. note ::
18
30
19
31
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