Implementation of Maekawa Distributed Mutual Exclussion Protocol
Source code file: Maekawa.java Test code file: MutexTester.java
Launcher script for Source code: launcher.sh command: ./launcher.sh <configFileName.txt>
Clean-up script to kill all java jobs: cleanup.sh command: ./cleanup.sh <configFileName.txt>
Testing script file: testMutex.sh command: ./testMutex.sh <configFileName.txt>
Steps to execute:
-
Run Launcher script
-
Run cleanup script once execution of source code is finished
-
All nodes will generate log-.out files.
-
Run testing script to evaluate is MutEx is achieved which uses all log files generated.
****Source code is self explainatory through all javadoc comments ****
***For more details about requirements please read project2.pdf ***