Skills101
← Tech dictionary

Operating systems

What is Context switch?

A context switch is when the CPU saves the state of the running process or thread and loads the state of another, letting many programs share one CPU. It is pure overhead, so schedulers try not to switch too often.

Learn it properlyOperating systems tutorials — free, with diagrams, quizzes and a certificate

Related terms