925 views
1 votes
1 votes

a)Mutual exclusion, progress, bounded wait all are satisfied

b)Mutual exclusion, progress satisfied but bounded wait not satisfied

c)Mutual exclusion satisfied progress, bounded wait not satisfied

1 Answer

0 votes
0 votes

Option B is correct

Suppose P1 is executing critical section now,

According to definition of bounded waiting, After a process (say P2) made a request to enter its critical section and before it is granted the permission to enter, there exists a bound on the number of turns other process( P1) are allowed to enter.

But here process P1 can enter critical section again and again without giving process P2 a chance. hence bounded waiting is not satisfied.

Related questions

0 votes
0 votes
1 answer
2
Mrityudoot asked Jan 27
223 views
Can a counting semaphore acquire a negative value?S = 2;15 P operations done, should the semaphore be 0 or -13