write a c program that uses semaphore in order to implement the pr
use this algorithm :
1-start
2-create semaphore using segment() system call
3-if successful it returns positive value 4- create two new processes c1 and c2 5-first process c1 will produce
6-until first process produces second process cannot consume
7-end
Greetings. I make this project with well commented and easy to understand C code. Will also help with any difficulties you may have understanding the source code. Best regards, Pedro Miguel Carvalho