forked from OSchip/llvm-project
![]() These two tests were clumsily using time measurements to determine whether std::lock_guard was working correctly. In practice, this approach merely verified that the underlying lock properly waits. Now these two tests verify that lock is acquired, not dropped prematurely, and finally, actually dropped at the end of the scope. |
||
---|---|---|
.. | ||
adopt_lock.pass.cpp | ||
assign.compile.fail.cpp | ||
copy.compile.fail.cpp | ||
mutex.fail.cpp | ||
mutex.pass.cpp | ||
types.pass.cpp |