[Lldb-commits] [lldb] [lldb] Add timed callbacks to the MainLoop class (PR #112895)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 6 11:42:08 PST 2024


================
@@ -155,7 +181,9 @@ Status MainLoopPosix::RunImpl::Poll() {
     void *sigset_ptr;
     size_t sigset_len;
   } extra_data = {&kernel_sigset, sizeof(kernel_sigset)};
-  if (syscall(__NR_pselect6, nfds, &read_fd_set, nullptr, nullptr, nullptr,
+  if (syscall(__NR_pselect6, nfds, &read_fd_set, /*writefds=*/nullptr,
----------------
labath wrote:

I think I can do something even better ~~> #115197

(I'll rebase this PR on top of that afterwards)

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


More information about the lldb-commits mailing list