Here, w1 and w2 are shared variables, which are initialized to false. Which one of the following statements is TRUE about the above construct?
A. It does not ensure mutual exclusion
B. It does not ensure bounded waiting
C. It requires that processes enter the critical section in strict alternation
D. It does not prevent deadlocks, but ensures mutual exclusion
Answer:A
Here, w1 and w2 are shared variables, which are initialized to false. Which one of the following statements is TRUE about the above construct?
A. It does not ensure mutual exclusion B. It does not ensure bounded waiting C. It requires that processes enter the critical section in strict alternation D. It does not prevent deadlocks, but ensures mutual exclusion
Explanation: None.