Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (TRUE){ while (TRUE) {
- while(turn != 0) /* loop* /; while(turn != 1) /* loop* /;
- critical_region(); critical_region();
- turn = 1; turn = 0;
- noncritical_region(); noncritical_region();
- } }
- (a) (b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement