I'm doing a homework assignment where I have to write a C program for the "Producer-Consumer Problem". The answer jumps right out at me using pthreads and mutexes. However, we're instructed to use ...
We just started programming threads in class, and I am trying to call a function prthread(int argc) from my thread. Here is the code I have:<BR><pre class="ip-ubbcode ...