std::string & multithreading

Paolo Carlini paolo.carlini@oracle.com
Fri Feb 26 11:20:00 GMT 2010


On 02/26/2010 12:16 PM, Radu Marginean wrote:
> Rogue Wave for example has a compiler option which allows linking with a version of the STL library that can be safely used in a multithreaded application.  Is there any such option available for gcc? If not are there plans to introduce one?
The plan is rolling in a new implementation, not using reference
counting at all, because C++1x doesn't allow it, as soon as we can break
the ABI. For the time being, you can experiment with a preview,
available as ext/vstring.h. Feedback welcome!

Paolo.



More information about the Libstdc++ mailing list