Skip to content

This java application simulates the Lamport mutual exclusion algorithm

Notifications You must be signed in to change notification settings

sami15as42/Lamport-Mutual-Exclusion-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lamport-Mutual-Exclusion-Simulator

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.

About

This java application simulates the Lamport mutual exclusion algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages