Context switch

A context switch is the process of storing and restoring the state of a CPU so that multiple processes can share a single CPU. This allows a process to be interrupted in the middle of its execution and for another process to be executed in its place. When the first process is ready to resume … Read more