This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pthread_cleanup_pop and egcs (g++) not calling destructors.
- To: Andrew Macleod <amacleod at cygnus dot com>
- Subject: Re: pthread_cleanup_pop and egcs (g++) not calling destructors.
- From: dvv at dvv dot ru (Dima Volodin)
- Date: Wed, 16 Jun 1999 17:02:10 GMT
- Cc: martin at mira dot isdn dot cs dot tu-berlin dot de, egcs at egcs dot cygnus dot com
- Organization: Huh?
- References: <199906161647.JAA05894@rtl.cygnus.com>
On Wed, 16 Jun 1999 09:47:51 -0700, Andrew Macleod wrote:
>Passing exceptions through non-gcc compiled functions
>is a totally different issue, as we dont know where to go looking
>for registers which have been saved.
And that's the most interesting thing to have, that is I'd very much
like to have something like this: a thread goes sleeping in a system
call, gets canceled, unwinds. This all is only possible with the
tightest integration between egcs and the OS code, which is not the case
in environments like Solaris. :-(
> The alternative to this is
>to use -fsjlj-exceptions, which produces much uglier code, but can
>throw through anything. You can't mix and match sjljs-exceptions with
>dwarf2 exceptions.
Hmmm, never tried this one...
>Andrew
Dima