Consider the methods used by processes P1 and P2 to access their critical…
GATE · Computer Science · 2010
Consider the methods used by processes P1 and P2 to access their critical sections whenever needed. The initial values of the shared Boolean variables S1 and S2 are assigned arbitrarily.
Method used by P1 | Method used by P2 |
|---|---|
| |
Which statement describes the properties achieved by these methods?
- 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 326 students.
Sign up free to check your answer
Sign up freeLoading lesson…