Subj : Re: pthread function behavior in C++ program To : comp.programming.threads From : Peter Dimov Date : Sun Jun 12 2005 11:56 pm Alexander Terekhov wrote: > Peter Dimov wrote: [...] >>>> It's better because it's only one step from the "right thing". They >>>> only need to re-cancel (not rethrow!) instead of terminating. > > There is no need for that (legacy thread cancel/exit unaware stuff > with catch(...) aside for a moment), ... You can't leave that aside as it's an important "use case". But this aside, :-) https://listman.redhat.com/archives/phil-list/2004-May/msg00016.html "The thread library does, and will probably even more so in future, alter the state of the library once a thread is canceled and this is not reversible." Which is fine with me - let the thread remain irreversibly canceled - as long as they provide an exception name and don't mess with the C++ exception handling mechanism. .