concurrence.h (__gnu_cxx::lock): New.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 25 Jun 2004 06:10:44 +0000 (06:10 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 25 Jun 2004 06:10:44 +0000 (06:10 +0000)
commit838d430929f683ab4315032d9dda8e1d5f2be8e2
tree4d9d8130c8565964ce08af9cb4505dc955a561f0
parentade83c33bdb550eeaa645f9e170c0dc54940cb3f
concurrence.h (__gnu_cxx::lock): New.

2004-06-24  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/concurrence.h (__gnu_cxx::lock): New.
* include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
(__pool_base::_M_get_mutex): New.
* include/bits/allocator.h: Tweak.
* src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
* config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
* include/bits/stl_threads.h: Remove.
* include/Makefile.am: Also here.
* include/Makefile.in: Regenerate.

* src/locale_init.cc: Use __gnu_cxx::lock.

* src/allocator.cc: Move all instantiations...
* src/allocator-inst.cc: ...here.

From-SVN: r83638
libstdc++-v3/ChangeLog
libstdc++-v3/config/linker-map.gnu
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/allocator.h
libstdc++-v3/include/bits/concurrence.h
libstdc++-v3/include/bits/stl_threads.h [deleted file]
libstdc++-v3/include/ext/pool_allocator.h
libstdc++-v3/src/allocator-inst.cc
libstdc++-v3/src/allocator.cc
libstdc++-v3/src/locale_init.cc