This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Exception Handling is thread safe?
- To: Bastiaan Bakker <Bastiaan dot Bakker at Harbinger dot nl>
- Subject: Re: Exception Handling is thread safe?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 22 Mar 1998 12:46:36 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <3510EFB5.1F9DA6D@Harbinger.nl>you write:
> On the OmniORB project pages I read that egcs' exception handling is
> not thread safe but that it can be fixed with a patch from Teemu Torma.
More correctly, the current releases are not MT thread safe; the
current development sources have thread safe exception handling.
> Now that egcs 1.02 is released I wonder whether this patch has been
> incorporated.
The MT safe EH code will not be integrated into the egcs-1.0.x releases;
it will appear in the egcs-1.1 release.
> the same patch. Should I use g++ 2.8.1 for multi threading code instead,
> or does it have the same problems?
gcc-2.8 has the same problems (and many more) in regards to exception
handling. I do not recommend it.
> PS. Could the egcs project page maintainer please add a few lines about
> this subject to the caveats page, I guess I'm not the only one
> interested to know about egcs' thread safety.
It's pretty rare that we get questions about this issue.
jeff