libstdc++/5432
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jan 2002 21:14:41 +0000 (21:14 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jan 2002 21:14:41 +0000 (21:14 +0000)
commit46c8f2594a4d8f6f4a50127c727a8b4b18f7f626
treecba821500b80780c5d81a3c969b81dc1eccbf9bf
parenta50d3fbad0b48ab80a8740882c324ba504cbed62
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49195 138bc75d-0d04-0410-961f-82ee72b054a4
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