Operating Systems - Producer-Consumer Problem Using Semaphores
Consider a producer-consumer system with a buffer size of 5, initially empty. If the consumer attempts to consume an item immediately after system start, what happens to the consumer thread when using semaphores correctly?
