This project is read-only.

Unriotec.DC v1.0

Rating: No reviews yet
Downloads: 2363
Released: Nov 18, 2007
Updated: Nov 19, 2007 by andrelinslima
Dev status: -not yet defined by owner-

Recommended Download

application, 29K, uploaded Nov 18, 2007 - 997 downloads

Other Available Downloads

application, 16K, uploaded Nov 18, 2007 - 397 downloads
application, 10K, uploaded Nov 18, 2007 - 115 downloads
application, 11K, uploaded Nov 18, 2007 - 115 downloads
application, 10K, uploaded Nov 18, 2007 - 111 downloads
Application Uniriotec.DC.CoordDist.Base.dll
application, 24K, uploaded Nov 18, 2007 - 96 downloads
Application Uniriotec.DC.RTP.dll
application, 20K, uploaded Nov 18, 2007 - 113 downloads
Application Uniriotec.DC.RTSP.dll
application, 28K, uploaded Nov 18, 2007 - 123 downloads
Documentation Uniriotec.DC.doc
documentation, 2170K, uploaded Nov 18, 2007 - 296 downloads

Release Notes

RTSP Server and Client

  • RTSP Server - using RTP to send a MJPEG movie. Looks for the movie on 'C:\', and listen to connections on port 554. Supports SETUP, PLAY (and PLAY from specific point), PAUSE, TEARDOWN
  • RTSP Client - using RTP to receive a MJPEG movie. Supports SETUP, PLAY (and PLAY from specific point), PAUSE, TEARDOWN
Based on the exercise proposed on The MJPEG format used is explained on the same page. A movie encoded on this format can be downloaded from

Distributed Coordination - simulations on one computer

  • Uniriotec.DC.CoordDist.Centralizada - Implementation of the centralized approach
  • One process is the coordinator;
  • Whenever a process wants to enter the critical region (CR), it sends a request to the coordinator;
  • The coordinator grants permission to enter the CR. If there is already a process on the CR, the requests are enqueued;
  • Uniriotec.DC.CoordDist.Distribuida - Implementation of the totally distributed approach, uses Lamport's clock syncronization. Ricart and Agrawala’s algorithm.
Requesting the critical section (CS):
  1. When a processor wants to enter the CS, it:
    1. Sends a timestamped request message to all OTHER processors
  2. When a processor receives a request message:
    1. If it is neither requesting nor executing the CS, it returns a reply message
    2. If it is requesting the CS, but the timestamp on the incoming request is smaller than the timestamp on its own request, it returns a reply message. Means the other processor requested first
    3. Otherwise, it defers answering the request. (It is answered once it releases the lock)
  3. Uniriotec.DC.CoordDist.Base - Implements classes to abstract the connection / communication between threads, so that the implementation of the distributed algorithm's simulation is simplified, and only focused on the algorithm itself.
  4. Uniriotec.DC.CoordDist.Base.Distribuida - Sample project, showing the totally distributed approach to mutual exclusion ( Ricart and Agrawala’s algorithm ) again, just to show how to use, the abstraction layer.

Reviews for this release

No reviews yet for this release.