Choose one of the correct mutual exclusion algorithms and argue that it satisfies all requirements. It is not necessary to write a format proof, but you should at least sketch informally all the main ideas.
Expert Answer
Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: Choose one of the correct mutual exclusion algorithms and argue that it satisfies all requirements. It is…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
ANSWER::
Requesting process
- Pushing its request in its own queue (ordered by time stamps)
- Sending a request to every node.
- Waiting for replies from all other nodes.
- If own request is at the head of its queue and all replies have been received, enter critical section.
- Upon exiting the critical section, remove its request from the queue and send a release message to every process.
Other processes
- After receiving a request, pushing the request in its own request queue (ordered by time stamps) and reply with a time stamp.
- After receiving release message, remove the corresponding request from its own request queue.
- If own request is at the head of its queue and all replies have been received, enter critical section.