Java Synchronisation with Producer-Consumer Problem Basic implementation of Producer-Consumer problem in java with mutex and semaphores. For the blog post: Link