Implementing the counting semaphore
using
binary semaphores: A 3 semaphore
solution
-
Two semaphores initialized to 1
-
One semaphore initialized to 0
Benchmark synchronization problems
The Producer/Consumer Problem
The Readers and Writers
Problem
The Dining Philosophers
Problem
-
Issues in programming the solutions
to these problems
-
Semaphore based solutions and the possible
problems