Is gcc and libgcc_s.a thread-safe ?

biju64 alex.jacob@logica.com
Mon Jan 19 14:55:00 GMT 2009


Thanks Eljay for that prompt reply.

So as I understand GCC itself is 'thread-safe' but it depends primarily on
the underlying C code that is implemented. ie. if the C code is thread-safe
then the overall exe generated is thread-safe. Got it.

What about the libgcc_s.a library that we have to link in if using gcc ? Do
I need to worry about this ?
On google I see something called libgcc_s_pthread.a - What does this do ? Do
I need this ? 

Have anyone seen any gcc documentation regarding this library ?

Regards,
Alex

-- 
View this message in context: http://www.nabble.com/Is-gcc-and-libgcc_s.a-thread-safe---tp21542269p21544584.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list