This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r167452 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Sat, 04 Dec 2010 02:37:47 -0000
- Subject: r167452 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: redi
Date: Sat Dec 4 02:37:46 2010
New Revision: 167452
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167452
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/30_threads/lock/
trunk/libstdc++-v3/testsuite/30_threads/lock/1.cc
trunk/libstdc++-v3/testsuite/30_threads/lock/2.cc
trunk/libstdc++-v3/testsuite/30_threads/lock/3.cc
trunk/libstdc++-v3/testsuite/30_threads/lock/4.cc
trunk/libstdc++-v3/testsuite/30_threads/try_lock/4.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/mutex
trunk/libstdc++-v3/testsuite/30_threads/try_lock/2.cc