Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2005-09-12 09:53:44


Roland Schwarz wrote: ...

Your locking is way too strict (with two waiters on CV, you're blocking
the second signal across context switch). Your pthread_cond_destroy()
doesn't conform to pthreads (you need to lock the gate sema to
synchronize destruction with respect to exiting waiters). Uhmm, and
what about timed waits and/or cancellation?

regards,
alexander.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk