[Lldb-commits] [lldb] [lldb] Make ProcessRunLock recursive on the read side per-thread (PR #201685)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 4 15:53:25 PDT 2026
jimingham wrote:
LGTM with mostly comment comments. Also, is there any reason to have ReadTryLock and ReadUnlock public methods of ProcessRunLock? I couldn't find any external uses of the API's, and this change has made them unsafe to use outside it.
It seems to me like all the external clients are going to use the pattern: Get the runlocker, do some stuff and release it. So there shouldn't be any external need to use ReadTryLock & ReadUnlock. I can't see any reason to keep them public members.
https://github.com/llvm/llvm-project/pull/201685
More information about the lldb-commits
mailing list