Glossary coding Term Page
Thread
An independent execution flow that can run concurrently
Core Idea
A thread is an operating-system execution unit that lets a program run independent flows at the same time. In Rust, creating a thread also forces you to think clearly about what data moves into that new flow.
Why It Matters Here
Mathbong uses threads to explain spawn, join, move closures, and message passing with channels. They are the first mental model for concurrency as "hire more workers."