This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: serious EH thread bug
- To: mrs at wrs dot com (Mike Stump)
- Subject: Re: serious EH thread bug
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 23 Nov 1998 10:12:56 -0700
- cc: jason at cygnus dot com, tot at trema dot com, egcs-patches at cygnus dot com, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199811202308.PAA12623@kankakee.wrs.com>you write:
> > From: Jason Merrill <jason@cygnus.com>
> > Date: 20 Nov 1998 02:17:42 -0800
>
> > Mike, do you have a response now?
>
> Yes: (This should go into 1.1.1 or 1.1.2, it is critical, further this
> is so nasty that any people using SJ MT EH should seriously consider
> putting it in their compiler.)
>
> Fri Nov 20 14:29:22 1998 Mike Stump <mrs@wrs.com>
>
> * libgcc2.c (top_elt): Remove top_elt, it isn't thread safe.
> The strategy we now use is to pre allocate the top_elt along
> with the EH context so that each thread has its own top_elt.
> This is necessary as the dynmanic cleanup chain is used on the
> top element of the stack and each thread MUST have its own.
> (eh_context_static): Likewise.
> (new_eh_context): Likewise.
> (__sjthrow): Likewise.
Jason -- what's the status of this patch? I don't see it in the mainline tree
and I'm not familiar enough with this code to be comfortable approving it.
Is it something we should include for egcs-1.1.1?
jeff