Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Algorithm

RICARTA-AGRAWALA--ALGORITHM

  • Category : Algorithm
  • Tags :
  • Update : 2012-11-26
  • Size : 1kb
  • Downloaded :0次
  • Author :m***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
Also known an Ricart and Agrawala’s algorithm. • Nodes use logical clocks: all events are in total order. • When a node wants to enter a CS (Critical Section) it sends a message. • The message contains following information 1. Process id of the process 2. The name of CS that the process wants to enter 3. A unique timestamp generated by the process for request msg • When a node receives such a request 1. If it is not interested in this CS, it replies OK immediately. 2. If it is interested in this CS: If its message’s timestamp was older, then replies OK, Else, it puts the sender in a queue and doesn’t reply anything (yet) 3. If it is already in the CS, it puts the sender in a queue and doesn’t reply anything (yet). • A node enters the CS when it received OK from all other nodes. • A node that exits the CS, sends immediately OK to all nodes that it may have placed in the queue.
Packet file list
(Preview for download)
RICARTA-AGRAWALA ALGORITHM.cpp
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.