Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: d56cd4006a1c5e07b0bf69fad9fc8e2fbf6aa855 authored by Ned Deily on 27 June 2020, 09:14:00 UTC
3.6.11
Tip revision: d56cd40
concurrency.rst
.. _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
   concurrent.rst
   concurrent.futures.rst
   subprocess.rst
   sched.rst
   queue.rst


The following are support modules for some of the above services:

.. toctree::

   dummy_threading.rst
   _thread.rst
   _dummy_thread.rst
back to top