Skip to content

Sivaranjini/Distributed-Systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSE 594 - DISTRIBUTED SYSTEMS - ASSIGNMENT -1
---------------------------------------------

NAME:   SIVARANJINI DHARMALINGAM
SBUID:  108493054

---------------------------------------------

FILES:
------

This package includes the following files:

     RADriver.da            
     RAToken.da             
     SKDriver.da            
     SKToken.da                                    
     README                 
     

USAGE:
------

To execute the program

1. Ricart Agrawala Algorithm
   --------------------------
    
    python -m distalgo.runtime RADriver.da -d <<directory>> -p <<noOfProcess>> <<noOfRequests>>
    
    where,
    << directory >>   - indicates the location of the source files.
    << noOfProcess>>  - indicates the no of processes to be executed.
    << noOfRequests>> - indicates the total number of requests to be executed by all processes.
    
    eg:
    
    python3.2 -m distalgo.runtime RADriver.da -d "/home/sivaranjini/Documents/DistAlgo-0.3" -p 10 20
    

2. Suzuki Kasami Algorithm
   -----------------------

    python -m distalgo.runtime SKDriver.da -d <<directory>> -p <<noOfProcess>> <<noOfRequests>>
    
    where,
    << directory >>   - indicates the location of the source files.
    << noOfProcess>>  - indicates the no of processes to be executed.
    << noOfRequests>> - indicates the total number of requests to be executed by all processes.
    
    eg:
    
    python3.2 -m distalgo.runtime SKDriver.da -d "/home/sivaranjini/Documents/DistAlgo-0.3" -p 10 20

    
       
   

About

Mutual Exclusion Algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages