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: Problems with exception handling in glibc and gcc.


"H . J . Lu" <hjl@lucon.org> writes:

> The problem is there should be only one copy of the exception funtions
> used in the main executable and all DSOs. If we decide that glibc 
> will never use the exception, things may be a little easier.

This is actually something we want to use in glibc.  The exception
handling mechanism is currently poorly (means not at all) integrated
with the thread cleanup handling.  Also, we implement for the cleanup
handling something similar to exception handling.

Therefore the idea is to have exceptions in C (compatible with the C++
exceptions) and use them in the thread cleanup handling.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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