producer consumer problem using mutexes, condition variables or semaphores
Can anyone please tell me how to write a program for producer consumer problem in C using
1) mutexes
2) condition Variables and mutexes
3) semaphores
# 1 Re: producer consumer problem using mutexes, condition variables or semaphores
Well any decent operating systems will tell you that. I prefer Andrew S. Tannenbaum's.
# 2 Re: producer consumer problem using mutexes, condition variables or semaphores
http://www.dev-archive.com/forum/showthread.php?t=366302