what is Context switch?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
What is protection boundary?
Explain the different kinds of threads?
List the system calls used for process management?
Explain what is protection boundary?
What is Critical section?
When should we use thread-safe "_r" library calls?
Explain similarities between thread and process?
How to work unix commands on windows xp without installing unix o/s in pc?
What are threads?
What are the different kinds of threads?
3 Answers Ericsson, Fashion Technology,
what are the Architectural differences between User-space threads, and Kernel-supported threads.
Explain what are the main families of threads?