[Lldb-commits] [lldb] [NFC][lldb][Windows] Clean up NativeProcessWindows (PR #202720)

via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 9 10:49:57 PDT 2026


================
@@ -663,17 +663,9 @@ void NativeProcessWindows::OnCreateThread(const HostThread &new_thread) {
 void NativeProcessWindows::OnExitThread(lldb::tid_t thread_id,
                                         uint32_t exit_code) {
   llvm::sys::ScopedLock lock(m_mutex);
----------------
Nerixyz wrote:

`GetThreadByID` would lock `m_threads_mutex`, not `m_mutex`. I think that can be changed here as well.

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


More information about the lldb-commits mailing list