Question: In Ricart-Agrawal's mutual exclusion algorithm, when a process finishes its CS (critical section) execution, it sends a Reply message to all queued processes. Consider the

 In Ricart-Agrawal's mutual exclusion algorithm, when a process finishes its CS

In Ricart-Agrawal's mutual exclusion algorithm, when a process finishes its CS (critical section) execution, it sends a "Reply" message to all queued processes. Consider the following figure, where P4 sends Reply to P1,P2, and P3. (a) If multiple processes receive "Reply", can more than one processes potentially enter CS, violating the safety condition? (b) What can potentially go wrong if the P4 sends Reply only, to the top process in the queue, say to P1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!