ios_base.h: Use _Atomic_word for reference counts.
authorAndrew Pollard <andrew@andypo.net>
Thu, 24 Jan 2002 21:14:41 +0000 (21:14 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Thu, 24 Jan 2002 21:14:41 +0000 (21:14 +0000)
commit17325050c2b41359e31f251d9a445c32f046031b
treecba821500b80780c5d81a3c969b81dc1eccbf9bf
parenta4f76ef9f331f1b052226d40ff6fd9d79c5606f3
ios_base.h: Use _Atomic_word for reference counts.

libstdc++/5432
* include/bits/ios_base.h: Use _Atomic_word for reference counts.
* include/bits/localefwd.h: Likewise.
Also use for std::locale::id::_S_highwater.
* src/ios.cc (ios_base::xalloc): Use _Atomic_word.
* src/locale.cc: Support new usage of _Atomic_word.
(std::locale::classic): Guard entire function against reentry.
* src/localename.cc: Support new usage of _Atomic_word.

From-SVN: r49195
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ios_base.h
libstdc++-v3/include/bits/localefwd.h
libstdc++-v3/src/ios.cc
libstdc++-v3/src/locale.cc
libstdc++-v3/src/localename.cc