Subj : Re: pthread function behavior in C++ program To : comp.programming.threads From : David Butenhof Date : Sat Jun 11 2005 10:53 pm Peter Dimov wrote: > David Butenhof wrote: > >>But of course technically that's all POSIX -- and my expectations and >>prejudices. There are C++ people who argue that an unhandled exception >>should always terminate the process. > > IIRC this is about unhandled C++ exceptions other than thread exit and > thread cancel. The argument is that threads dying silently as a result of an > unhandled exception lead to hard to find bugs (as determined empirically). > :-) > > Of course the whole point of thread exit and thread cancel is to make the > thread die silently, so this doesn't apply to them. Well, that's exactly what I said so of course I agree completely with your intelligent and rational assessment. However, it shouldn't surprise you that not everyone does. ;-) -- Dave Butenhof, David.Butenhof@hp.com HP Utility Pricing software, POSIX thread consultant Manageability Solutions Lab (MSL), Hewlett-Packard Company 110 Spit Brook Road, ZK2/3-Q18, Nashua, NH 03062 .