Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: bd18254b91272c2f0f0d98f66fdeca962ef1a901 authored by Ned Deily on 11 December 2019, 05:24:09 UTC
3.7.6rc1
Tip revision: bd18254
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