Subj : Re: Semaphores and pthreads To : comp.programming.threads From : Paolo Date : Sun Jan 09 2005 07:30 pm Jomu wrote: > It's best to use cond_ vars with mutexes, it's what is made to work > together. There is a post from me, at least, here: > http://groups-beta.google.com/group/comp.programming.threads/browse_thread/thread/e47c4038dbe69439/809bfcf1325e74d9?q=jomu&_done=%2Fgroup%2Fcomp.programming.threads%2Fsearch%3Fgroup%3Dcomp.programming.threads%26q%3Djomu%26qt_g%3D1%26searchnow%3DSearch+this+group%26&_doneTitle=Back+to+Search&&d#809bfcf1325e74d9 > And I am sure, lots of other posts you can find with "consumer > producer" search on this group. > dd Thank you. So are you telling me not to use semaphores, but pthread_cond_wait()? Paolo .