what is Context switch?

Answers were Sorted based on User's Feedback



what is Context switch? ..

Answer / kannan

context switch is nothing but change the one process to
another process during the scheduling time

Is This Answer Correct ?    29 Yes 4 No

what is Context switch? ..

Answer / 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

what is Context switch? ..

Answer / guest

A context switch is the action of switching a CPU between
executing one thread and another (or transferring control
between them). This may involve crossing one or more
protection boundary.

Is This Answer Correct ?    19 Yes 14 No

what is Context switch? ..

Answer / ragheed

When CPU switches to another process, the system must save the state of the old process and load the saved state for the new process via a context switch.
Context of a process represented in the PCB
Context-switch time is overhead; the system does no useful work while switching The more complex the OS and the PCB -> longer the context switch

Time dependent on hardware support Some hardware provides multiple sets of registers per CPU -> multiple contexts loaded at once

Is This Answer Correct ?    3 Yes 1 No

what is Context switch? ..

Answer / mukesh

Context switching is the process that transfer control of cpu running process to other process which is resides in ready state. It is generally used when io operation complete process come back again through ready to running state.

Is This Answer Correct ?    0 Yes 0 No

what is Context switch? ..

Answer / neelu kaul

a context is the contents of a CPU 's registers and
program counter at any point in time

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More Unix Threads Interview Questions

If your server is running on Unix and one of the sessions are keep on running without loading any data. how would you kill it?

0 Answers  


HOW can I work UNIX commands on Windows XP without installing UNIX O/S in PC

8 Answers   TCL,


Explain what are threads?

0 Answers  


Explain what is scheduling?

0 Answers  


What are the different kinds of threads?

3 Answers   Ericsson, Fashion Technology,






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

0 Answers  


Explain what is protection boundary?

0 Answers  


When should we use thread-safe "_r" library calls?

2 Answers  


Explain the different kinds of threads?

0 Answers  


Explain what is critical section?

0 Answers  


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

0 Answers  


Explain critical section?

0 Answers  


Categories