Core Python Programming (2nd Edition)

18.6. Related Modules

The table below lists some of the modules you may use when programming multithreaded applications.

Table 18.6. Threading-Related Standard Library Modules

Module

Description

tHRead

Basic, lower-level thread module

threading

Higher-level threading and synchronization objects

Queue

Synchronized FIFO queue for multiple threads

mutex

Mutual exclusion objects

SocketServer

TCP and UDP managers with some threading control

Категории