jingham added a comment.

In D97739#2607993 <https://reviews.llvm.org/D97739#2607993>, @clayborg wrote:

> I agree that we should avoid SBEvent after thinking about it.

First off, doing long running operations on a thread that is the one handling 
the major lldb events is obviously a bad idea.  Secondly, there's no reason 
that the listener for progress events has to call "WaitForEvents" along with 
all the process events it's waiting for on the debugger.  You could just set up 
a listener thread for all these events (they would have their own event bit) if 
you wanted somebody just monitoring progress events.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97739/new/

https://reviews.llvm.org/D97739

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to