1.. _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 11multitasking). 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 27The following are support modules for some of the above services: 28 29.. toctree:: 30 31 _thread.rst 32