Hi,
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.
To know more about for switch context details refer to the following links:
http://www.blurtit.c om/q6322316.html
http://osr 507doc.sco.com/en/PERFORM/cont ext_switching_cpu.html
http ://msdn.microsoft.com/en-us/li brary/ms191296.aspx
Answered by
Viishal Garg
at
2:15 PM on February 17, 2012