diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2004-07-01 14:49:29 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@redhat.com> | 2004-07-01 14:49:29 +0000 |
commit | 4764039c77112278d45101451a198a50c2098148 (patch) | |
tree | 84fba1fc51e9a0c4e3e4895babf63448ac87b191 /libstdc++-v3/include/ext | |
parent | 80d4e8d14c3dad27cceade49b00d798e798fbc23 (diff) |
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: https://gcc.gnu.org/svn/gcc/trunk@83985 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/ext')
-rw-r--r-- | libstdc++-v3/include/ext/pool_allocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/pool_allocator.h b/libstdc++-v3/include/ext/pool_allocator.h index de6299be8cf..eec79e7070a 100644 --- a/libstdc++-v3/include/ext/pool_allocator.h +++ b/libstdc++-v3/include/ext/pool_allocator.h @@ -100,7 +100,7 @@ namespace __gnu_cxx _Obj* volatile* _M_get_free_list(size_t __bytes); - __gthread_mutex_t& + mutex_type& _M_get_mutex(); // Returns an object of size __n, and optionally adds to size __n |