Skip to content

Glossary: Python Beyond the Basics

thread

Also written: threads, threading

A separate line of work inside a program; while one thread waits, another can run. Threads share variables, so have each job return its result rather than changing shared lists.

Where the book teaches it

Related terms

concurrent.futuresconcurrencyI/O-bound