[Lldb-commits] [lldb] [lldb-dap] Fix raciness in launch and attach tests (PR #137920)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri May 2 05:13:32 PDT 2025


labath wrote:

> I'm even more unhappy with the current state of the patch.

I take it you're referring to the uncritical sections. What if we don't lock the mutex automatically for each handler (but leave it up to them to figure out when/if to lock it)? Or we could have the handler declare in some way whether it wants to run the the lock held?

https://github.com/llvm/llvm-project/pull/137920


More information about the lldb-commits mailing list