OSDN Git Service

2009-01-07 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jan 2009 03:14:24 +0000 (03:14 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jan 2009 03:14:24 +0000 (03:14 +0000)
commit9e57b7da32645abe81d39e4676f219413da5df05
treea6f1e0438084e4f64331de987399b0292a383367
parent30f461c5c1995022a4db9586eadf26c773ba51f6
2009-01-07  Benjamin Kosnik  <bkoz@redhat.com>
    Jonathan Larmour  <jifl@eCosCentric.com>

PR libstdc++/36801
* config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
New.
(__gnu_cxx::__exchange_and_add): Use it.
* src/atomic.cc (get_atomic_mutex): New.
* src/debug.cc (get_safe_base_mutex): New.
* src/locale.cc (get_locale_cache_mutex): New.
* src/mt_allocator.cc (get_freelist): New.
(get_freelist_mutex): New.
* src/pool_allocator.cc (get_palloc_mutex): New.
* include/std/mutex (__once_functor_lock): To
(__get_once_functor_lock): ...this.
* src/mutex.cc (__once_mutex): Don't export, use
(get_once_mutex): ...this.
* config/abi/pre/gnu.ver: Adjust exports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143182 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/config/cpu/generic/atomicity_mutex/atomicity.h
libstdc++-v3/include/std/mutex
libstdc++-v3/src/atomic.cc
libstdc++-v3/src/debug.cc
libstdc++-v3/src/locale.cc
libstdc++-v3/src/mt_allocator.cc
libstdc++-v3/src/mutex.cc
libstdc++-v3/src/pool_allocator.cc