concurrence.h: Still create mutex object when single-threaded.
* include/bits/concurrence.h: Still create mutex object when single-threaded. From-SVN: r83657
This commit is contained in:
parent
dba845ac28
commit
29357d8b94
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user