Per Bothner <per@bothner.com > Mohan Embar <gnustuff@thisiscool.com>
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 1 Jul 2004 14:49:29 +0000 (14:49 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 1 Jul 2004 14:49:29 +0000 (14:49 +0000)
commitf65d32011500ab08d981d3927ca7d151b855861e
tree84fba1fc51e9a0c4e3e4895babf63448ac87b191
parent60ba25bfc1c465184d34bae053b0d47161c20a76
Per Bothner <per@bothner.com > Mohan Embar <gnustuff@thisiscool.com>

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.

Co-Authored-By: Mohan Embar <gnustuff@thisiscool.com>
Co-Authored-By: Per Bothner <per@bothner.com>
From-SVN: r83985
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/concurrence.h
libstdc++-v3/include/ext/pool_allocator.h
libstdc++-v3/src/allocator.cc