Turn Variable

Entry Section
while (turn ! = I);
Critical Section
Exit Section
turn = J;


Entry Section
Crititcal section
Exit Section
Turn Variable value =