: the kernel in the middle, sharing one machine between many programs. This lesson puts a second referee under the kernel, so that whole computers can share one machine.
Before you start. In Four ways to get stuck: deadlock, two cooks shared one knife and one board, and a rule about who may hold what kept the kitchen from freezing. Sharing needs a referee. On your laptop the referee is the kernel, the one program with full control of the hardware, and the chip enforces that with a privileged mode that ordinary programs cannot enter (Processes, Threads & the Kernel). The kernel also gives each program its own private-looking addresses and translates them to real memory (The address book every process carries). This lesson asks what happens when the program you want to share the machine with is itself a kernel.
Lesson 24 of 41 in How Computers Work
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.