Computer Science / Unit 6 CS 0303 short lesson, about 20 seconds
The Thread
Captions available
The idea
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.
In practice
A map app scrolls under a finger while a second thread recomputes the route.
Where people slip
Shared memory is the power and the hazard at once.
Your place on the trail
Every lesson rests on earlier ones and opens later ones. Tap any to jump.
Something wrong in this lesson? Flag it · Sources for Computer Science