Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 69dec9c8d23606180e660b30d327000e9463b82d authored by Ɓukasz Langa on 02 July 2020, 17:57:45 UTC
Python 3.9.0b4
Tip revision: 69dec9c
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
   multiprocessing.shared_memory.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
back to top