[Lldb-commits] [lldb] [lldb][Windows] Lock DebuggerThread::m_process against the debug loop (PR #236560)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 30 06:40:04 PDT 2026


================
@@ -76,6 +79,7 @@ class DebuggerThread : public std::enable_shared_from_this<DebuggerThread> {
   DebugDelegateSP m_debug_delegate;
 
   HostProcess m_process;    // The process being debugged.
+  mutable std::mutex m_process_mutex; // Guards m_process.
----------------
Nerixyz wrote:

Could `m_process` be a `Guarded<HostProcess>`?

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


More information about the lldb-commits mailing list