what is Context switch?

Answer Posted / al hinai

A context switch is the computing process of saving and
restoring the state (context) of a CPU such that multiple
processes can share a single CPU resource. The context
switch is an essential feature of a multitasking operating
system.

Context switches are usually time consuming and much of the
design of operating systems is to minimize the time of
context switches.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain critical section?

612


Explain the architectural differences between user-space threads, and kernel-supported threads?

514


Explain what is protection boundary?

574


Explain the different kinds of threads?

610


Explain how to work unix commands on windows xp without installing unix o/s in pc?

491






Explain what are the main families of threads?

572


What is the window of the working set of a process?

643


List the system calls used for process management?

622


Explain what are threads?

635


Tell me when should we use thread-safe "_r" library calls?

538


Explain what is critical section?

555


What is the working set of a process?

605


explain about the initial process sequence while the system boots up?

614


How to work unix commands on windows xp without installing unix o/s in pc?

522


Explain the performance differences between user-space threads and kernel-supported threads.?

601