Producer-Consumer Simulator

Step through the bounded buffer problem with semaphores. Try the wrong order of waits to see a deadlock, or no semaphores to see lost items.

More in CS Labs & Coding.