From: terekhov (terekhov_at_[hidden])
Date: 2002-01-18 07:47:39


--- In boost_at_y..., "David Abrahams" <david.abrahams_at_r...> wrote:
>
> ----- Original Message -----
> From: "terekhov" <terekhov_at_d...>
>
> > "> My second question is whether the C++ catch(...),
> > > which means "catch all exceptions", should be
> > > allowed to catch the pthread cancelation exception.
> > > On Tru64 Unix, catch(...) does catch pthread
> > > cancelations.
> >
> > Yes, it should; but you should always re-"throw"
> > unless you're really sure you want to break the
> > entire world. I think that should ALWAYS be true
> > for an anonymous catch(...), though. If you don't
> > know what it is, you can't "finalize" the exception
> > recovery, and you need to just clean up your own
> > local context and let someone else further down
> > handle it.
>
> Sometimes there is nobody further down, as we've seen.

And process terminates and that is GOOD.

regards,
alexander.