diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2013-06-18 22:55:02 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2013-06-18 23:55:02 +0100 |
commit | 25e00ab67444a01dce446e95308521d1a73f8232 (patch) | |
tree | c491d5047a720ef9b19dbe186747c2ab31667949 /move-if-change | |
parent | bef8491a658de9e8920acaeff6cb76ef4e946e2c (diff) | |
download | gcc-25e00ab67444a01dce446e95308521d1a73f8232.zip gcc-25e00ab67444a01dce446e95308521d1a73f8232.tar.gz gcc-25e00ab67444a01dce446e95308521d1a73f8232.tar.bz2 |
re PR libstdc++/57641 (std::timed_mutex.try_lock_until() is broken)
PR libstdc++/57641
* include/std/mutex (timed_mutex, recursive_timed_mutex): Move common
functionality to new __timed_mutex_impl mixin. Overload try_lock_until
to handle conversion between different clocks. Replace constrained
__try_lock_for_impl overloads with conditional increment.
* include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin.
* testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New.
From-SVN: r200180
Diffstat (limited to 'move-if-change')
0 files changed, 0 insertions, 0 deletions