Wait (i) {
c[i]=false;
while ( c[1-i]) do;
}
Signal (i) {
c[i]=true;
}
each process try to enter to critical section (CS) for infinite times. process use wait(i) for enter CS, and Signal(i) for exit of CS. i in {0,1} be a number of process. C be an array with length=2 from binary variable that initialized with True.
Which of them is False:
a) this solution satisfy the Mutual Exclusion.
b) this solution satisfy the Bounded Waiting.
c) this solution satisfy all conditions for CS.
d) this solution is satisfy progress condition.
My professor say (c) is right. but i think (a), (b), (c), (d) is correct for this question. anyone could help me.