Question
Consider the following two-process synchronization soultion
Process 0
Entry: loop while (turn ==1);
(critical section)
Exit: turn =1;
Process 1
Entry: loop while (turn ==0);
(critical section)
Exit: turn =0;
The shared variable turn in initialized to zero.
Which one of the following is TRUE?