Subj : Re: pthread function behavior in C++ program To : comp.programming.threads From : Alexander Terekhov Date : Sat Jun 11 2005 09:56 pm 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. There are some who argue that > cancel and exit should not be "catchable" -- as Alexander points out > this is what Linux currently does, with a "forced unwind" rather than a > true exception. That is, it'll run object destructors, but cannot be > caught. Well, it can be caught using catch(...), but not finalized. Under NPTL, catch(...) of "forced unwind" is supposed to exit with rethrow, otherwise they terminate the entire process. It's not C++ anymore. regards, alexander. .