[Lldb-commits] [lldb] [lldb-dap] While handling events, grab the APIMutex for consistency. (PR #139596)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon May 12 11:00:18 PDT 2025
JDevlieghere wrote:
I too have been contemplating this for a while...
Given that the request handlers currently lock the API mutex and now the event thread does the same, this patch means that the two are essentially fully synchronized. That begs the question: Should these be separate threads at all? We could sidestep all the synchronization issues by handling request and events on the same thread using the `MainLoop`.
https://github.com/llvm/llvm-project/pull/139596
More information about the lldb-commits
mailing list