17. 并发执行

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:

以下是某些上述服务的支持模块:

上一话题

16.16. ctypes — 用于 Python 的外来函数库

下一话题

17.1. threading — 基于线程的并行

本页