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]

Thread-safeness of C++ compilers and libraries


Hi,

I have some questions regarding thread-safeness :

1) What does it take for a C++ compiler to be thread-safe ?
And what threads are we talking about anyway ? Probably POSIX threads,
but what about kernel threads ?

2) I understand that one of the main problems is the runtime, and especially
exception-handling. I'm familiar with exceptions, but the impact of 
multithreading is still a bit fuzzy for me ;-)

3) Based on this, what should I expect from g++ and egcs ?
Is this a platform-dependent issue ?

4) Is libstdc++ thread-safe (again, what threads are we talking about ?) ?
According to some posts I've read, the STL part of the library is already
thread-safe. What about the rest ?

Lots of questions, but I'm sure I'm not the only one struggling with all this
mess :-) Hopefully someone can shed some light on these complex interactions.

Thank you for your time,


                                Julien


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