Is GCC Mulithread safe under Solaris 2.x?
Michael Dalpee
mjdalpee@us.hsanet.net
Wed Jan 26 06:09:00 GMT 2000
Hi,
Not sure this is the appropriate venue, but I have been experiencing a lot of runtime problems with a multithreaded system I have built using both GCC 2.95.2 as well as the latest snapshot version. I have built this same system using various Sun Workshop compilers (version 4.2, 5.0, and 6.0)and things run fine. (I have also built the system under Digital Unix 4.x using Digital Unix C++ 6.2 and it also runs fine.)
So, before I start submitting bug reports, I thought I'd just check to make sure GCC is intended for use in a multithreaded environment. I recently read somewhere that GCC's exception handling is NOT multithread safe, so I guess I'm suspicious that this may be the problem. At any rate, if you would be so kind as to provide me with authorative information on this subject, I would be very appreciative. Also, if there are some configuration options that I need to enable, I would appreciate learning about them too. (I noticed there is an --enable-threads configuration option, but it appears to only pertain to objective C - is that true?)
Thanks very much,
Michael Dalpee
More information about the Gcc-bugs
mailing list