================
@@ -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:
I think there is only ever one launch or attach, should this be an optional
message instead? Also named `m_pending_launch_or_attach`?
https://github.com/llvm/llvm-project/pull/138219
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits