The image shows a synchronization mechanism intended for a uniprocessor. Which…

The image shows a synchronization mechanism intended for a uniprocessor. Which statement correctly describes how this mechanism behaves?

Pseudocode: acquire disables interrupts; release enables interrupts.
  1. A.

    It works on single CPU machines because it disables context switches within the critical region.

  2. B.

    It works on single CPU machines even when there are context switches within the critical region.

  3. C.

    It does not work on single core CPU.

  4. D.

    None of these

Attempted by 417 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…