Debian Codegraph @

Doc/library/concurrency.rst

raw
1 .. _concurrency:
2
3 ********************
4 Concurrent Execution
5 ********************
6
7 The modules described in this chapter provide support for concurrent
8 execution of code. The appropriate choice of tool will depend on the
9 task to be executed (CPU bound vs IO bound) and preferred style of
10 development (event driven cooperative multitasking vs preemptive
11 multitasking). Here's an overview:
12
13
14 .. toctree::
15
16 threading.rst
17 multiprocessing.rst
18 multiprocessing.shared_memory.rst
19 concurrent.rst
20 concurrent.futures.rst
21 subprocess.rst
22 sched.rst
23 queue.rst
24 contextvars.rst
25
26
27 The following are support modules for some of the above services:
28
29 .. toctree::
30
31 _thread.rst