Question
On a single-processor system, why can disabling interrupts protect a very short kernel critical section?
Select an option. Your answer will be checked instantly.
Correct Answer: C. It prevents the current code from being preempted on that processor
Explanation:
With interrupts disabled, the processor cannot switch to another interrupt-driven execution path on that CPU.
This approach is unsuitable for long user-level sections and does not by itself stop other processors.
Leave a Reply