mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00

PEP-734 has been accepted (for 3.14). (FTR, I'm opposed to putting this under the concurrent package, but doing so is the SC condition under which the module can land in 3.14.)
32 lines
716 B
ReStructuredText
32 lines
716 B
ReStructuredText
.. _concurrency:
|
|
|
|
********************
|
|
Concurrent Execution
|
|
********************
|
|
|
|
The modules described in this chapter provide support for concurrent
|
|
execution of code. The appropriate choice of tool will depend on the
|
|
task to be executed (CPU bound vs IO bound) and preferred style of
|
|
development (event driven cooperative multitasking vs preemptive
|
|
multitasking). Here's an overview:
|
|
|
|
|
|
.. toctree::
|
|
|
|
threading.rst
|
|
multiprocessing.rst
|
|
multiprocessing.shared_memory.rst
|
|
concurrent.rst
|
|
concurrent.futures.rst
|
|
concurrent.interpreters.rst
|
|
subprocess.rst
|
|
sched.rst
|
|
queue.rst
|
|
contextvars.rst
|
|
|
|
|
|
The following are support modules for some of the above services:
|
|
|
|
.. toctree::
|
|
|
|
_thread.rst
|