About this document
Process vs Thread Context Switching by mahi130 is a document available to read on EtoBox.
A context switch involves saving the state of the currently running process, including its registers and memory mappings, and restoring the state of another process so it can resume execution. This allows multiple processes to share the CPU by rapidly switching between them. There are three main situations that trigger a context switch: when the scheduler switches to another runnable process, when an interrupt occurs and must be handled, and when switching between user and kernel mode. During a context swit
- Author
- mahi130
- Language
- EN