context switch

A context switch is the process of storing a thread’s current state and later restoring the state of the thread to continue execution.