diff options
author | Paul Brook <paul@codesourcery.com> | 2004-06-25 16:36:13 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2004-06-25 16:36:13 +0000 |
commit | 29357d8b9417cf74ce10fc868e4774d4c77d6889 (patch) | |
tree | 57941b6c3e14cb7c608381b4816fede2d84a3803 /libstdc++-v3 | |
parent | dba845ac28a8f10754d30bb4826574d3f107f84c (diff) | |
download | gcc-29357d8b9417cf74ce10fc868e4774d4c77d6889.zip gcc-29357d8b9417cf74ce10fc868e4774d4c77d6889.tar.gz gcc-29357d8b9417cf74ce10fc868e4774d4c77d6889.tar.bz2 |
concurrence.h: Still create mutex object when single-threaded.
* include/bits/concurrence.h: Still create mutex object when
single-threaded.
From-SVN: r83657
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/concurrence.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 63df31b..82670b8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 diff --git a/libstdc++-v3/include/bits/concurrence.h b/libstdc++-v3/include/bits/concurrence.h index 81f6216..03cd6eb 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) |