context switch

A context switch is the process of storing the state of a process or thread so that it can be restored and resume execution at a later point, then restoring a different, previously saved, state.