concurrency.rst 673 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
.. _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
11
multitasking). Here's an overview:
12 13 14 15 16 17


.. toctree::

   threading.rst
   multiprocessing.rst
18
   concurrent.rst
19 20 21 22 23 24 25 26 27 28 29 30
   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
31
   dummy_threading.rst