Simple concurrent programs implementing Semaphores and Monitors
C code
- Code running threads, and another implementing semaphores to avoid the concurrence problem.
- The producer-consumer problem solved with semaphores
Java code
- The producer-consumer problem solved with monitors and with semaphores