blob: b150990b83b75b4b20ee1882d0244f5678dbc203 [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
Davin Pottse895de32019-02-23 22:08:16 -060018 multiprocessing.shared_memory.rst
Georg Brandlfe7b00f2012-10-06 13:49:34 +020019 concurrent.rst
Nick Coghlanbac9a532012-08-20 18:05:46 +100020 concurrent.futures.rst
21 subprocess.rst
22 sched.rst
23 queue.rst
Nick Coghlanbac9a532012-08-20 18:05:46 +100024
25
26The following are support modules for some of the above services:
27
28.. toctree::
29
Nick Coghlanbac9a532012-08-20 18:05:46 +100030 _thread.rst