aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2019-12-02 16:22:53 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-12-02 16:22:53 +0000
commit49638674a46e58ff8bfb41c5346386dca9569375 (patch)
tree364e2e5c6ab134ac925cebc4c6d9f20dbd606e0f /gcc
parent74fee04253a5007213634150b4505cd6fcab9910 (diff)
downloadgcc-49638674a46e58ff8bfb41c5346386dca9569375.zip
gcc-49638674a46e58ff8bfb41c5346386dca9569375.tar.gz
gcc-49638674a46e58ff8bfb41c5346386dca9569375.tar.bz2
libstdc++: Improve tests for try_lock_until members of mutex types
2019-12-02 Mike Crowe <mac@mcrowe.com> * testsuite/30_threads/recursive_timed_mutex/try_lock_until/3.cc: New test. Ensure that timed_mutex::try_lock_until actually times out after the specified time when using both system_clock and steady_clock. * testsuite/30_threads/timed_mutex/try_lock_until/3.cc: New test. Likewise but for recursive_timed_mutex. * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Template test functions and use them to test both steady_clock and system_clock. * testsuite/30_threads/unique_lock/locking/4.cc: Likewise. Wrap call to timed_mutex::try_lock_until in VERIFY macro to check its return value. From-SVN: r278900
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions