This java application simulates the Lamport mutual exclusion algorithm. This application is made up of ten processes that share a critical resource. The main body of a process is an endless loop that waits for a random delay between 1s and 5s, before entering a critical section using Lamport's algorithm. The body of a critical section is also waiting for a random delay between 1 and 2s. The processes communicate between them by sockets in peer-to-peer mode.
-
Notifications
You must be signed in to change notification settings - Fork 0
sami15as42/Lamport-Mutual-Exclusion-Simulator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This java application simulates the Lamport mutual exclusion algorithm
Resources
Stars
Watchers
Forks
Releases
No releases published