This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Help: Unwinding the C++ stack...throw, longjmp & threads


"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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]