[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-alpha
Subject:    Re: Cancelling threads and C++ (LinuxThreads)
From:       mrs () wrs ! com (Mike Stump)
Date:       1999-06-28 21:14:21
[Download RAW message or body]

> 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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic