libstdc was not safe in 2.92, is it now in 3.X?

Jason Merrill jason_merrill@redhat.com
Thu Aug 30 08:07:00 GMT 2001


>>>>> "Andrew" == Andrew B Lundgren <Andrew.Lundgren@Level3.com> writes:

> So it is now thread safe according to the SGI definition where as it was
> not before correct?

Yes.

> At what version did it become thread safe according to the SGI definition?

Most of the library code came from the SGI STL implementation; the problem
with thread-safety was the reference-counting string implementation.
Locking primitives were added to the string class for sparc and x86 in the
2.95 releases; the string class became thread-safe on other platforms only
in 3.0.

Jason



More information about the Libstdc++ mailing list