Implementation of Ricart & Agrawala algorithm using Python with RPC communication between processes and critical section. Course assignment for LTAT.06.007 Distributed Systems at University of Tartu.
For development I used Python 3.8.10 and the following packages:
functools
random
rpyc
time
typing
_thread
To start use the provided shell script.
./start.sh [number_of_processes]
You can also start the program with debug mode active
DEBUG=true ./start.sh [number_of_processes]