infrastructure for MT strings now in

Benjamin Kosnik bkoz@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


Nathan:

I added config/cpu/* directories from glibc to the CVS repository for
libstdc++. The proper machine-specific atomicity.h file will be
selected from this group, and default to generic/atomicity.h if a
particular architecture is not supported (for the details, see
acinclude.m4 GLIBCPP_CHECK_CPU)

So, for your patch, you should be able to just 

#include <atomicity.h>

in the relevant files and get a clean compile of MT-safe string. 


Try it, let me know how it goes.

-benjamin


More information about the Libstdc++ mailing list