OSDN Git Service

2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jul 2004 14:49:29 +0000 (14:49 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jul 2004 14:49:29 +0000 (14:49 +0000)
commit5219aa99441506a18b309fc997247134e6059071
tree84fba1fc51e9a0c4e3e4895babf63448ac87b191
parent9c5f26b0b8b0c222b7a0df8fab2a38869ebf92b2
2004-07-01  Benjamin Kosnik  <bkoz@redhat.com>
            Per Bothner  <per@bothner.com >
    Mohan Embar  <gnustuff@thisiscool.com>

PR libstdc++/16248
* include/bits/concurrence.h (__glibcxx_mutex_type): New.
(__glibcxx_mutex): Encapsulate mutex init function into type for
threaded configurations without __GTHREAD_MUTEX_INIT.
(lock::lock): Make device member a reference.
(lock::~lock): Same.
* include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
to mutex_type.
* src/allocator.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83985 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/concurrence.h
libstdc++-v3/include/ext/pool_allocator.h
libstdc++-v3/src/allocator.cc