374 views
0 votes
0 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
  1.  That might not satisfy the “mutual exclusion” requirement
  1.  That might not satisfy the “bounded wait” requirement
  1. I guess that would suffice.

1 Answer

0 votes
0 votes

From the question's reference i think that friend is using "Strict alteration"  technique.

In this technique we are using turn variable. That variable can be used one process at a time 

So in this method progress is not achieved.

So I think answer is option (a).

Related questions

0 votes
0 votes
1 answer
2
Nam14 asked Apr 5, 2023
543 views
Please read below passage from 10th edition Operating System Concepts, pg. 202:5.1.3 Preemptive and Nonpreemptive SchedulingCPU-scheduling decisions may take place under ...