Software Solution 1 (incomplete)
Only two processes.
Local process is i, other is j.
What is good ?
What is bad ?
Shared turn: (0..1)=0;
Repeat
while turn ? i do no-op;
critical section
turn := j;
remainder section
Forever
Previous slide
Next slide
Back to first slide
View graphic version