Peterson's Solution is a commonly used approach to ensuring mutual exclusion.…

Peterson's Solution is a commonly used approach to ensuring mutual exclusion. What does it specifically utilize to achieve this?

  1. A.

    Semaphores

  2. B.

    A boolean variable "turn" and a boolean array "flag"

  3. C.

    Priority scheduling

  4. D.

    Bounded buffers

Attempted by 303 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…