Skip to content

Class Project of Distrubution System, Member:Bizhao Shi, Minggui Teng.

Notifications You must be signed in to change notification settings

ChipsAhoyM/MutualExclusion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mutual Exclusion

The repo is the course project of the distributed system.

Author: Minggui Teng, Bizhao Shi

Date: June, 2022

Lamport Algorithm for Mutual Exclusion Demo

python3 main.py --algo=LA --node_num=4 --runtime=2 --begin_port=20000

RA Algorithm for Mutual Exclusion Demo

python3 main.py --algo=RA --node_num=4 --runtime=2 --begin_port=30000

Parameters

--algo: RA, LA

--node_num: number of process

--runtime: number of request per node

--begin_port: socket port

About

Class Project of Distrubution System, Member:Bizhao Shi, Minggui Teng.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%