OSDN Git Service

2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jul 2004 15:30:36 +0000 (15:30 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jul 2004 15:30:36 +0000 (15:30 +0000)
commit7ba88cfa71de22942edb4c8dd263365a8557c84d
treeeb05e41fa35f1f85f03ae73ec0a515d9b45f4579
parentcb504887864bc0d26f0c17db4dc91e4f45adf9ce
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@83988 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog