Skip to content

Commit afd2113

Browse files
authored
Doc: clarify multiprocessing docs mentioning ThreadPoolExecutor (gh-140578)
1 parent d74a963 commit afd2113

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/multiprocessing.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ distributing the input data across processes (data parallelism). The following
3030
example demonstrates the common practice of defining such functions in a module
3131
so that child processes can successfully import that module. This basic example
3232
of data parallelism using :class:`~multiprocessing.pool.Pool`, ::
33+
Note that a similar high-level interface for thread-based parallelism is provided by the :class:`concurrent.futures.ThreadPoolExecutor` class in the :mod:`concurrent.futures` module.
34+
3335

3436
from multiprocessing import Pool
3537

0 commit comments

Comments
 (0)