Consider two processes: Assume x and y are shared variables and initialized to…

Consider two processes:

image.png

Assume x and y are shared variables and initialized to 0. Which statement is true?

  1. A.

    No mutual exclusion and no deadlock

  2. B.

    No mutual exclusion but progress satisfies

  3. C.

    Progress and mutual exclusion both satisfy

  4. D.

    Mutual exclusion and deadlocks

Attempted by 200 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…