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).
-
Notifications
You must be signed in to change notification settings - Fork 0
nikoSchoinas/MutExMethods
About
Thread mutual exclusion: Four famous methods (Boolean variable, Switching, Petterson, Bakery)
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published