diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2010-12-04 02:37:46 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2010-12-04 02:37:46 +0000 |
commit | 9b2b801af5011d6b1f92899f682107776019766c (patch) | |
tree | 753d60e92b2485fcd325165bbbce91beca03bd0b /gcc | |
parent | 3dcdeeb24bb56e82edc9c6a136028df504ba1d1e (diff) | |
download | gcc-9b2b801af5011d6b1f92899f682107776019766c.zip gcc-9b2b801af5011d6b1f92899f682107776019766c.tar.gz gcc-9b2b801af5011d6b1f92899f682107776019766c.tar.bz2 |
mutex (try_lock, [...]): Fix.
2010-12-04 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/mutex (try_lock, __try_lock_impl): Fix.
(lock): Implement using __try_lock_impl.
* testsuite/30_threads/try_lock/2.cc: Fix logic.
* testsuite/30_threads/try_lock/4.cc: New.
* testsuite/30_threads/lock/1.cc: New.
* testsuite/30_threads/lock/2.cc: New.
* testsuite/30_threads/lock/3.cc: New.
* testsuite/30_threads/lock/4.cc: New.
From-SVN: r167452
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions