Skip to content

Thread mutual exclusion: Four famous methods (Boolean variable, Switching, Petterson, Bakery)

Notifications You must be signed in to change notification settings

nikoSchoinas/MutExMethods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MutExMethods

This program creates as many threads as system’s CPUs to print all numbers between 0 and 20. It reassures mutual exclusion between running threads. Mutual exclusion methods are implemented with four different algorithms (boolean variable, switching, Petterson’s algorithm, Bakery algorithm).

About

Thread mutual exclusion: Four famous methods (Boolean variable, Switching, Petterson, Bakery)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages