Skip to main content

The Thread

This video presents the same text shown beside it, spoken and on screen. It adds nothing the text does not say.

State

A thread is the OS's unit of concurrency — a lightweight path of execution sharing its process's memory and resources, while keeping its own stack, program counter, and registers.

Show

A map app scrolls under a finger while a second thread recomputes the route.

Watch for

Shared memory is the power and the hazard at once.