908 views
1 votes
1 votes
Your friend wants to design synchronization primitives and tells you that he would be better off by strictly ensuring that the processes alternate the critical section. Your response would be:

1.  That might not satisfy the “progress” requirement

2.  That might not satisfy the “mutual exclusion” requirement

3.  That might not satisfy the “bounded wait” requirement

4.  I guess that would suffice

1 Answer

0 votes
0 votes
answer i think should be A ...it may not satisfy progress....say we have implemented synchronization for p1,p2..such that they will alter p1,p2...again p1,p2 and so on.....

but say p2 process is very small and may need less access to CRITICAL SECTION but P1 is very lagre and needs CRITICAL SECTION many number of times...in such cases....due to p2 ...p1 may not allowed to enter into CS.....as it is strict alteration

Related questions

2 votes
2 votes
1 answer
1
1 votes
1 votes
0 answers
2
Hirak asked May 9, 2019
756 views
0 votes
0 votes
4 answers
4
gulsanchouhan asked Oct 14, 2017
1,985 views
If the value of a counting semaphore s = 4, then the maximum number of requests for the critical section before it blocks is _____________ ?1. 02. 13. 24. 4