L15-Mutual Exclusion-DOS
L15-Mutual Exclusion-DOS
Clock Synchronization
Mutual Exclusion
Election Algorithms
Atomic Transactions
Simple to use.
collapse.
Case 3:
• If the receiver wants to enter the CS but not yet done.
• It compares the timestamp in the incoming message with the one
contained in the message that it has sent to everyone.
• Whichever has lowest (wins), and the winner will not say OK, rather
the looser will say OK, and the winner will continue in the CS.
• After exists the CS, it sends OK message to all processes on its queue
and deletes them all from the queue.
• Whenever either a request or a reply is lost, the sender times out and
keeps trying until either a reply comes back or the sender concludes
that the destination is dead.