From: Paul Brook Date: Fri, 25 Jun 2004 16:36:13 +0000 (+0000) Subject: concurrence.h: Still create mutex object when single-threaded. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29357d8b9417cf74ce10fc868e4774d4c77d6889;p=gcc.git concurrence.h: Still create mutex object when single-threaded. * include/bits/concurrence.h: Still create mutex object when single-threaded. From-SVN: r83657 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 63df31b327f..82670b82368 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-06-25 Paul Brook + + * include/bits/concurrence.h: Still create mutex object when + single-threaded. + 2004-06-25 Paolo Carlini * include/bits/stl_algobase.h (fill, fill_n): Revert last diff --git a/libstdc++-v3/include/bits/concurrence.h b/libstdc++-v3/include/bits/concurrence.h index 81f6216d931..03cd6ebabec 100644 --- a/libstdc++-v3/include/bits/concurrence.h +++ b/libstdc++-v3/include/bits/concurrence.h @@ -56,7 +56,7 @@ __gthread_mutex_lock(&NAME) #else -# define __glibcxx_mutex_define_initialized(NAME) +# define __glibcxx_mutex_define_initialized(NAME) __gthread_mutex_t NAME # define __glibcxx_mutex_lock(NAME) # define __glibcxx_mutex_unlock(NAME)