edited by
1,970 views
1 votes
1 votes

Process Pi 
repeat

flag[i] = true; 
while ( flag[j] ) do no-op; 
< critical - section > 
flag[i] = false; 
< remainder - section > 
until false; 

Note : "i" refer0s to current process and "j" refers to another process.

How Bounded Wait is satisfied here?

edited by

Please log in or register to answer this question.

Related questions

3 votes
3 votes
0 answers
3
rahul sharma 5 asked Jan 28, 2018
341 views
Can some one give example where bounded waiting satisfies but starvation freedom is not there?I have read Bounded Wait = Starvation freedom is a false implicationPlease s...
1 votes
1 votes
3 answers
4
hacker16 asked Nov 9, 2017
1,130 views
how this solution does not satisfy bounded waiting?// initially turn = 0 while (turn != 0); turn = 1 CS turn = 0