Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 2064bcf6ce513a3ce876f87aabdbd997c07eff10 authored by Ned Deily on 26 September 2018, 06:16:09 UTC
3.7.1rc1
Tip revision: 2064bcf
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