Skip to content

Glossary: System Design Basics

Daemon thread

Also written: daemon, daemon=True

A Python thread that stops automatically when the main program ends, so a worker's endless loop doesn't keep the program alive.

Where the book teaches it

Related terms

ThreadProducer / consumer