]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Add std::shared_timed_mutex tests for negative timeouts [PR116586]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 9 Oct 2025 10:11:44 +0000 (11:11 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 14 Oct 2025 16:26:43 +0000 (17:26 +0100)
commitfb558b78108ff2974248190bb64b4c19215535bc
tree2dc8bfa1ba0a5ea059022d99033f9545c18cfa6e
parente0525a6d2bba07d623424ab6f10a023de90e65a2
libstdc++: Add std::shared_timed_mutex tests for negative timeouts [PR116586]

Add tests to show that std::shared_timed_mutex correctly handles
negative timeouts.

libstdc++-v3/ChangeLog:

PR libstdc++/116586
* testsuite/30_threads/shared_timed_mutex/try_lock_until/116586.cc:
New test.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock_until/116586.cc [new file with mode: 0644]