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: Cancelling threads and C++ (LinuxThreads)


> Date: Mon, 28 Jun 1999 10:03:20 -0400 (EDT)
> From: george@moberg.com

> The issue that I have to bring to attention is cancellation of
> threads in the presence of a C++ program in deferred cancellation
> mode.  When a thread is cancelled, the destructors for stack-based
> objects are not called.

This is a libc question, unrelated to egcs (mostly).

>         Would this require that a single mechanism for exceptions be
>         used, rather than the two that are available in egcs now?
>         (-fnew-exceptions vs. -fsjlj-exceptions)

Only one really can exist.  We don't multilib on that flag, so
generally speaking, mere users can't use the flag.  Or put another
way, it is ok for code to not work if one of these flags is given.

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