[Lldb-commits] [PATCH] D119548: [lldb] Fix race condition between lldb-vscode and stop hooks executor

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 14 16:23:20 PST 2022

jingham requested changes to this revision.
jingham added a comment.
This revision now requires changes to proceed.

Note, however, that if you are doing a Synchronous launch, you won't ever get an event telling you the process has stopped.  Maybe that's what is causing the actual confusion?  If you are waiting on a stop event after a synchronous Launch, you won't get one.  But that's pretty much what you asked for: "run this command w/o my having to spin an event loop to handle it..."  The way you know that a synchronous Lauch has stopped is because the command returned successfully.

I don't think this patch is solving the right problem.



More information about the lldb-commits mailing list