[Lldb-commits] [lldb] [lldb-dap] Fix flaky TestDAP_stopped_events.py (PR #179689)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 4 07:45:32 PST 2026


da-viper wrote:

I am thinking in the long run, we could switch to a [queue](https://docs.python.org/3/library/queue.html) system. where we write to all events to a queue. and just pop with a timeout the events from the top of the queue. This way we don't have to share the `ConditionVariable` with the `read thread`. 

This can also apply to `sending and receiving requests`, and have a pending_request dictionary `Dict[request_seq, Queue]` and only poll for request we need.   using `pending_requests[seq].get()` 

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


More information about the lldb-commits mailing list