re PR libstdc++/16248 (recent concurrence.h chanes breaks mingw bootstrap)
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 1 Jul 2004 15:30:36 +0000 (15:30 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 1 Jul 2004 15:30:36 +0000 (15:30 +0000)
commit7f1ee5690d598876d3568b077342bd322a6fc530
treeeb05e41fa35f1f85f03ae73ec0a515d9b45f4579
parentce940947fbf4ec7e2f2979a9ccf09cdd736514b3
re PR libstdc++/16248 (recent concurrence.h chanes breaks mingw bootstrap)

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.

From-SVN: r83988
libstdc++-v3/ChangeLog