This program is a modification to the reader writer problem solved by using semaphores. A writer semaphore was needed to control the access of critical sections of counter and monitor threads, while 3 semaphores were needed to control the consumer producer problem for monitor and collector threads. It is similar to a mailbox messaging system where monitor is the mailbox, counter is the sender and collector is the receiver.
-
Notifications
You must be signed in to change notification settings - Fork 0
amrmahdyy/semaphores
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published