Im taking an operating system course.
i understood the code that solved the consumer - producer problem using semaphores.
but what i didnt understood is where do we use these codes...what kind of processes uses this code ? im so lost... can anybody give me a real example ?