In the producer–consumer solution with semaphores mutex, empty and… | Process Synchronization question · AnyPrep