llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard
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
..
adopt_lock.pass.cpp [libcxx testing] Fix UB in tests for std::lock_guard 2021-01-15 16:11:45 +07:00
assign.compile.fail.cpp [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
copy.compile.fail.cpp [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
mutex.fail.cpp
mutex.pass.cpp [libcxx testing] Fix UB in tests for std::lock_guard 2021-01-15 16:11:45 +07:00
types.pass.cpp