Updated: October 28, 2024 |
Before we start talking about threads, processes, time slices, and all the other wonderful scheduling concepts, let's establish an analogy.
What I want to do first is illustrate how threads and processes work. The best way I can think of (short of digging into the design of a realtime system) is to imagine our threads and processes in some kind of situation.