This document is for an old version of Python that is no longer supported. You should upgrade, and read the Python documentation for the current stable release.

17. Concurrent Execution

The modules described in this chapter provide support for concurrent execution of code. The appropriate choice of tool will depend on the task to be executed (CPU bound vs IO bound) and preferred style of development (event driven cooperative multitasking vs preemptive multitasking). Here’s an overview:

The following are support modules for some of the above services:

Previous topic

16.16. ctypes — A foreign function library for Python

Next topic

17.1. threading — Thread-based parallelism

This Page

«