summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-18 22:55:02 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-18 22:55:02 +0000
commit2851d736ebf1e8cceebb9106cab69d2c3fdc7624 (patch)
treec491d5047a720ef9b19dbe186747c2ab31667949 /libgo
parent3bc4161a6a4610c91897d637c64dfd50003455ba (diff)
downloadgcc-2851d736ebf1e8cceebb9106cab69d2c3fdc7624.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200180 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions