Nick Coghlan | bac9a53 | 2012-08-20 18:05:46 +1000 | [diff] [blame] | 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 |
Ezio Melotti | a68c1ab | 2013-04-17 07:34:13 +0300 | [diff] [blame] | 11 | multitasking). Here's an overview: |
Nick Coghlan | bac9a53 | 2012-08-20 18:05:46 +1000 | [diff] [blame] | 12 | |
| 13 | |
| 14 | .. toctree:: |
| 15 | |
| 16 | threading.rst |
| 17 | multiprocessing.rst |
Georg Brandl | fe7b00f | 2012-10-06 13:49:34 +0200 | [diff] [blame] | 18 | concurrent.rst |
Nick Coghlan | bac9a53 | 2012-08-20 18:05:46 +1000 | [diff] [blame] | 19 | concurrent.futures.rst |
| 20 | subprocess.rst |
| 21 | sched.rst |
| 22 | queue.rst |
Nick Coghlan | bac9a53 | 2012-08-20 18:05:46 +1000 | [diff] [blame] | 23 | |
| 24 | |
| 25 | The following are support modules for some of the above services: |
| 26 | |
| 27 | .. toctree:: |
| 28 | |
| 29 | dummy_threading.rst |
| 30 | _thread.rst |
| 31 | _dummy_thread.rst |