5.16 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Algorithm 2 Shared Variables  var flag: array (0..1) of boolean; initially: flag[0] = flag[1] = false;  flag[i] = true  Pi ready to enter its critical section Process P i while(true) { flag[i] = true; while (flag[j]) no-op; critical section flag[i]= false; remainder section } Can block indefinitely… Progress requirement not met.
{}