Context Switch

A context switch is the computing process of storing and restoring the state (context) of a CPU so that execution can be resumed from the same point at a later time. This enables multiple processes to share a single CPU. The context switch is an essential feature of a multitasking operating system. Context switches are usually computationally intensive and much of the design of operating systems is to optimize the use of context switches. A context switch can mean a register context switch, a task context switch, a thread context switch, or a process context switch. What constitutes the context is determined by the processor and the operating system. Switching from one process to another requires a certain amount of time for doing the administration - saving and loading registers and memory maps, updating various tables and lists etc.

Read more about Context Switch:  Context Switch: Steps, Software Vs Hardware Context Switching

Famous quotes containing the words context and/or switch:

    Parents are led to believe that they must be consistent, that is, always respond to the same issue the same way. Consistency is good up to a point but your child also needs to understand context and subtlety . . . much of adult life is governed by context: what is appropriate in one setting is not appropriate in another; the way something is said may be more important than what is said. . . .
    Stanley I. Greenspan (20th century)

    Children ... after a certain age do not welcome parental advice. Occasionally, they may listen to another adult, which is why perhaps people should switch children with their neighbors and friends for a while in the teen years!
    Marian Wright Edelman (20th century)