llvm-project/libcxx/test/std/thread/thread.mutex
Igor Kudrin 7803636057 [libcxx testing] Fix UB in tests for std::lock_guard
If mutex::try_lock() is called in a thread that already owns the mutex,
the behavior is undefined. The patch fixes the issue by creating another
thread, where the call is allowed.

Differential Revision: https://reviews.llvm.org/D94656
2021-01-15 16:11:45 +07:00
..
thread.lock [libcxx testing] Fix UB in tests for std::lock_guard 2021-01-15 16:11:45 +07:00
thread.lock.algorithm Support tests in freestanding 2019-02-04 20:31:13 +00:00
thread.mutex.requirements [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.once [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00