Home > Articles > Programming > Python

  • Print
  • + Share This
This chapter is from the book

4.10. Related Modules

Table 4-6 lists some of the modules that you can use when programming multithreaded applications.

Table 4-6. Threading-Related Standard Library Modules

Module

Description

threada

Basic, lower-level thread module

threading

Higher-level threading and synchronization objects

multiprocessingb

Spawn/use subprocesses with a “threading” interface

subprocessc

Skip threads altogether and execute processes instead

Queue

Synchronized FIFO queue for multiple threads

mutexd

Mutual exclusion objects

concurrent.futurese

High-level library for asynchronous execution

SocketServer

Create/manage threaded TCP or UDP servers

  • + Share This
  • 🔖 Save To Your Account