Glossary coding Term Page

Thread

An independent execution flow that can run concurrently

thread #rust#concurrency#systems
Korean version

Aliases

OS threadexecution thread

Prerequisites

Related Concepts

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."

Posts Mentioning This Concept