[Lldb-commits] [lldb] [lldb] Unify/improve MainLoop signal handling (PR #115197)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 14 11:02:48 PST 2024


================
@@ -179,55 +142,34 @@ Status MainLoopPosix::RunImpl::Poll() {
     read_fds.push_back(pfd);
   }
 
-  if (ppoll(read_fds.data(), read_fds.size(), nullptr, &sigmask) == -1 &&
+  if (ppoll(read_fds.data(), read_fds.size(),
+            /*timeout=*/nullptr,
----------------
Jlalond wrote:

Would a reasonable timeout make sense as a precaution? 

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


More information about the lldb-commits mailing list