In this project, you are required to implement the same functionality as Project II, with the same number of servers (3) and clients (5), except for the following differences:
- The clients, numbered C0 through C4 execute Maekawas mutual exclusion algorithm among them (instead of the Ricart-Agrawala algorithm) to decide which client gets to enter the critical section to access a file.
- Quorum size is equal to three.
- Quorum of client Ci consists of the set {Ci, C(i+1)mod5, C(i+2)mod5}.
- Make sure to implement all messages for Maekawas algorithm, including ENQUIRE, YIELD and FAILED.
Reviews
There are no reviews yet.