blob: 826bf86d08179303476ab7aba297fa44e81a1cf7 [file] [log] [blame]
Nick Coghlanbac9a532012-08-20 18:05:46 +10001.. _concurrency:
2
3********************
4Concurrent Execution
5********************
6
7The modules described in this chapter provide support for concurrent
8execution of code. The appropriate choice of tool will depend on the
9task to be executed (CPU bound vs IO bound) and preferred style of
10development (event driven cooperative multitasking vs preemptive
Ezio Melottia68c1ab2013-04-17 07:34:13 +030011multitasking). Here's an overview:
Nick Coghlanbac9a532012-08-20 18:05:46 +100012
13
14.. toctree::
15
16 threading.rst
17 multiprocessing.rst
Georg Brandlfe7b00f2012-10-06 13:49:34 +020018 concurrent.rst
Nick Coghlanbac9a532012-08-20 18:05:46 +100019 concurrent.futures.rst
20 subprocess.rst
21 sched.rst
22 queue.rst
Nick Coghlanbac9a532012-08-20 18:05:46 +100023
24
25The following are support modules for some of the above services:
26
27.. toctree::
28
Nick Coghlanbac9a532012-08-20 18:05:46 +100029 _thread.rst
30 _dummy_thread.rst
Antoine Pitroub43c4ca2017-09-18 22:04:20 +020031 dummy_threading.rst