
23 Feb
2013
23 Feb
'13
1:04 p.m.
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 :/ cheers, tim