Boost logo

Boost :

Subject: Re: [boost] [thread] ~condition_variable_any verifications
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-02-23 08:04:32

>>> >> i know that these verifications can be really useful in many case, but
>>> >> in my use case, it makes exit() rather unusable, and i'd have to
>>> >> redesign some of the internal logic to avoid this assertion failure.
>>> >>
>>> >> thoughts?
>> >
>> > Which alternative behavior would you expect?
> I don't know what the standard says about this, but I suspect that you
> should add a exit handle to join all your threads.

checking my last draft of the standard, there seems to be a better
workaround: exit() calls destructors, _Exit() and quick_exit() don't ...
unfortunately the later are just c++11 :/


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