ricart-agarwal-algo

Introduction

This script ricart_agarwala.py implements Ricart-Agarwala algorithm for mutual exclusive. And the critical data is just a python dictionary(the key is a string, the value is an integer).

The system is communicated by sending and receiveing messages based on UDP protocal.

Requirement: python3 Running script

python3 ricart_agarwala.py