Actions taken by a kernel to context-switch between kernel-level threads.

Operating SystemWindowsMCA

Context Switching involves storing the context or state of a process or thread so that it can be reloaded when required and execution can be resumed from the same point as earlier. This is a feature of a multitasking operating system and allows a single CPU to be shared by multiple processes.

Actions taken by a kernel to context-switch between kernel-level threads are-

Context switching between kernel threads typically requires saving the value of the CPU registers from the thread being switched out and restoring the CPU registers of the new thread being scheduled.

raja
Published on 16-Oct-2019 11:57:33
Advertisements