Answer Posted / 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 |
Post New Answer View All Answers
List the system calls used for process management?
What is the window of the working set of a process?
Explain what is protection boundary?
explain about the initial process sequence while the system boots up?
Explain the performance differences between user-space threads and kernel-supported threads.?
What is protection boundary?
How to work unix commands on windows xp without installing unix o/s in pc?
Explain the different kinds of threads?
Explain critical section?
Explain what are threads?
How would you kill a process?
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?
Explain how to work unix commands on windows xp without installing unix o/s in pc?
Explain similarities between thread and process?
Explain what is critical section?