[Lldb-commits] [lldb] [lldb-dap] Change the launch sequence (PR #138219)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Fri May 2 11:39:16 PDT 2025


================
@@ -417,8 +424,11 @@ struct DAP {
   lldb::SBMutex GetAPIMutex() const { return target.GetAPIMutex(); }
 
 private:
-  std::mutex m_queue_mutex;
+  /// Queue for all incoming messages.
   std::deque<protocol::Message> m_queue;
+  /// Dedicated queue for launching and attaching.
+  std::deque<protocol::Message> m_launch_attach_queue;
----------------
ashgti wrote:

Looking at things now, I think a separate queue makes more sense. 

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


More information about the lldb-commits mailing list