This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: serious EH thread bug



  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


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