John Rodewald
Personal notes I've decided to make public for some reason.


Context Switching

Posted on

A context switch occurs when execution of one process is paused so that another process can run instead while preserving all of the necessary context of the process that was paused.

If process A is running and the OS decides to run process B - e.g. by encountering a trap (Switching Processes):

Context values include:

Tags: programming ostep