Commit 7f1ee569 by Benjamin Kosnik

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
parent ce940947
2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
Per Bothner <per@bothner.com >
Per Bothner <per@bothner.com>
Mohan Embar <gnustuff@thisiscool.com>
PR libstdc++/16248
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment