andersch.dev

<2025-01-07 Tue>

Thread

A thread in programming describes a state used by the CPU to execute a sequence of instructions. These threads of execution are managed by the scheduler of an OS.

State of a thread: