concurrence.h: Still create mutex object when single-threaded.
authorPaul Brook <paul@codesourcery.com>
Fri, 25 Jun 2004 16:36:13 +0000 (16:36 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Fri, 25 Jun 2004 16:36:13 +0000 (16:36 +0000)
* include/bits/concurrence.h: Still create mutex object when
single-threaded.

From-SVN: r83657

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/concurrence.h

index 63df31b327fe337ac65045bb59a5e9b5538962fb..82670b82368a9cd9e8a66f891bf0f02f7895be67 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-25  Paul Brook  <paul@codesourcery.com>
+
+       * include/bits/concurrence.h: Still create mutex object when
+       single-threaded.
+
 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
 
        * include/bits/stl_algobase.h (fill, fill_n): Revert last
index 81f6216d931a2817e82290554fc3ef88ec76d185..03cd6ebabec112673129db58382e71ce761c5edc 100644 (file)
@@ -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)