Help: Unwinding the C++ stack...throw, longjmp & threads
Ulrich Drepper
drepper@cygnus.com
Tue Aug 24 15:04:00 GMT 1999
"George T. Talbot" <george@moberg.com> writes:
> I just had a thought...all I care about is enabling -fexceptions for any
> function which is a cancellation point in the C library, or any function
> that
> calls a cancellation point in the C library. Maybe there's a way to
> narrow
> down which functions get -fexceptions applied to them. I noticed that
> each
> function is in its own file, which is a really good idea and should make
> that a bit easier. (Does such a list exist already?)
You have to find all cancelation point and al functions which directly
or indirectly use callback functions (which could be C++). This is
not trivial.
And in addition, to justify the changes, you'll have to come up with a
scheme how the exception handling can be used in C to implement the
POSIX cancelation stuff.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
More information about the Libc-alpha
mailing list