Help: Unwinding the C++ stack...throw, longjmp & threads
Josh Stern
jstern@citilink.com
Tue Aug 31 23:20:00 GMT 1999
Mike Stump writes:
>I just worry that you might expect more to work than will actually
>work.
I won't question the sincerity of your worry...for all I know
you might (or perhaps should) have shared it with the C++
committee.
However, just to clarify my view: I would expect try (sic) to
handle even synchronous exceptions either very locally or very
globally, with very constrained ambitions in the latter case
(which, of course, anything involving a signal handler would
fall into).
I don't mean to disrespect the *extremely* hard work that has
been put into some other programming idioms that place a lot of
value on exception safety of classes, etc., though I have some
doubts about whether those approaches can be adequately tested
and/or make it easy for programmers to be productive.
- Josh
More information about the Gcc
mailing list