[Lldb-commits] [lldb] [lldb] Add try_lock to SBMutex (PR #164109)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Sat Oct 18 11:41:14 PDT 2025
================
@@ -36,6 +36,10 @@ TEST_F(SBMutexTest, LockTest) {
std::future<void> f;
{
lldb::SBMutex lock = target.GetAPIMutex();
+
+ ASSERT_TRUE(lock.try_lock());
----------------
Michael137 wrote:
`try_lock` another time to confirm that it fails?
https://github.com/llvm/llvm-project/pull/164109
More information about the lldb-commits
mailing list