Multiple choice

Which of the following methods of mutual exclusion is the one in which context switching from one process to another process can only occur on interrupts?

  1. Mutual exclusion by using Lock variable

  2. Mutual exclusion by disabling interrupts

  3. Mutual exclusion by strict alternation

  4. Mutual exclusion by petersons method

  5. Mutual exclusion by using special machine instructions

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This method of mutual exclusion is the one in which context switching from one process to another process can only occur on interrupts.