mutex (__get_once_functor_lock, [...]): Replace global lock object with local locks...
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sat, 25 Apr 2009 20:14:27 +0000 (20:14 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 25 Apr 2009 20:14:27 +0000 (21:14 +0100)
commitafdb7762cb3eb4f2e14a0fd3a774008f684210e8
tree64216b4268ae49070675dbac1fb3358d53d219df
parentd6d89aa1c4acdba9525a84d4f04f17269eb37436
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
libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/include/std/mutex
libstdc++-v3/src/mutex.cc
libstdc++-v3/testsuite/30_threads/call_once/call_once2.cc [new file with mode: 0644]