Subj : Re: Study Material for Multi-threaded application developement in UNIX/LINUX To : comp.programming.threads From : doug Date : Thu May 26 2005 03:11 pm "Uenal Mutlu" <520001085531-0001@t-online.de> wrote in message news:d746d6$jp5$05$1@news.t-online.com... > wrote >> >> Try this C++ library, I will give you directions >> on how to create and use threads in a c++ context. >> >> http://www.partow.net/programming/posixsynchwrapper/index.html >> >> Regards >> Arash Partow > > Maybe a bug: shouldn't the following variable in POSIXcondition.h be > static ? > unsigned int active_waiters I don't think so. I haven't looked closely at the code, but that would mean that active_waiters tracked the number of waiting threads for *all* condition vars, not an individual condition var. (And you'd also need another mutex to synchronise access to it.) .