Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2007-11-15 10:00:44

On Nov 15, 2007, at 7:02 AM, Alexander Terekhov wrote:

> That condition_variable_any wrapper doesn't ensure same destruction
> safety of condition varaible as POSIX pthread_cond_t. That's not good.

Thanks for this observation Alexander. Do you have a recommendation
for fixing it? The best I'm coming up with at the moment is to keep a
count of waiters as member data and have ~condition_variable_any()
wait until the count drops to zero.


Boost list run by bdawes at, gregod at, cpdaniel at, john at