Context Switch
Switching the CPU to another process requires saving
the state of the old process and loading the saved
state for the new process.
Process 1
Process 2
OS
Interrupt or
system call
Interrupt or
system call
Save State into PCB1
Reload state from PCB2
Save State into PCB2
Reload state from PCB1
Wasted time...
Wasted time...
Previous slide
Next slide
Back to first slide
View graphic version