Consider the methods used by processes P1 and P2 for accessing their critical…
GATE · 2010 · CS · Computer Science & IT
Consider the methods used by processes P1 and P2 for accessing their critical sections whenever needed, as given below. The initial values of shared boolean variables S1 and S2 are randomly assigned.
Which one of the following statements describes the properties achieved?
- A.
Mutual exclusion but not progress
- B.
Progress but not mutual exclusion
- C.
Neither mutual exclusion nor progress
- D.
Both mutual exclusion and progress
Attempted by 571 students.
Sign up free to check your answer
Sign up freeLoading lesson…