diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2009-04-25 20:14:27 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2009-04-25 21:14:27 +0100 |
commit | afdb7762cb3eb4f2e14a0fd3a774008f684210e8 (patch) | |
tree | 64216b4268ae49070675dbac1fb3358d53d219df /libstdc++-v3/config | |
parent | d6d89aa1c4acdba9525a84d4f04f17269eb37436 (diff) | |
download | gcc-afdb7762cb3eb4f2e14a0fd3a774008f684210e8.zip gcc-afdb7762cb3eb4f2e14a0fd3a774008f684210e8.tar.gz gcc-afdb7762cb3eb4f2e14a0fd3a774008f684210e8.tar.bz2 |
mutex (__get_once_functor_lock, [...]): Replace global lock object with local locks on global mutex.
2009-04-25 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/mutex (__get_once_functor_lock, __get_once_mutex):
Replace global lock object with local locks on global mutex.
* src/mutex.cc: Likewise.
* config/abi/pre/gnu.ver: Adjust.
* testsuite/30_threads/call_once/call_once2.cc: New.
From-SVN: r146785
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/abi/pre/gnu.ver | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 57183c1..bd2c63e 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -879,7 +879,8 @@ GLIBCXX_3.4.11 { _ZSt11__once_call; _ZSt15__once_callable; _ZSt14__once_functor; - _ZSt23__get_once_functor_lockv; + _ZSt19__once_functor_lock; + _ZSt16__get_once_mutexv; __once_proxy; # condition_variable |