Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: d7c567b08f9d7d6aef21b881340a2b72731129db authored by Ned Deily on 10 March 2020, 06:11:12 UTC
3.7.7
Tip revision: d7c567b
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::

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