cpython/Doc/library/concurrency.rst
Miss Islington (bot) 2c0a0b04a4
Put contextvars docs into the concurrency category (GH-24760)
(cherry picked from commit 5eb7796b7f)

Co-authored-by: Brett Cannon <brett@python.org>
2021-03-06 08:48:12 -08:00

31 lines
685 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
subprocess.rst
sched.rst
queue.rst
contextvars.rst
The following are support modules for some of the above services:
.. toctree::
_thread.rst