CS FundamentalsModerateGATE CS

Which condition makes disabling interrupts an INSUFFICIENT way to implement a critical section?

  1. A. The machine has multiple processors
  2. B. The critical section is very short
  3. C. The program runs in kernel mode
  4. D. There is only one process

Correct answer: A. The machine has multiple processors

Disabling interrupts on one CPU stops preemption there, but code on other CPUs can still enter the critical section. It also must not be allowed in user mode.

More Operating Systems questions

Exams that ask this topic