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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to