[Lldb-commits] [lldb] [lldb] Don't exit the main loop when in runs out of things to listen on (PR #112565)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 16 16:46:46 PDT 2024


================
@@ -365,10 +365,7 @@ Status MainLoopPosix::Run() {
   Status error;
   RunImpl impl(*this);
 
-  // run until termination or until we run out of things to listen to
-  // (m_read_fds will always contain m_trigger_pipe fd, so check for > 1)
-  while (!m_terminate_request &&
----------------
Jlalond wrote:

What changed to make this comment above (about the pipe never being empty) incorrect? 

Then again it basically sounds like a no-op

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


More information about the lldb-commits mailing list