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

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 18 10:25:45 PDT 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,
----------------
Jlalond wrote:

pselect is sufficiently complex that you might want to add a small blurb what you're doing

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


More information about the lldb-commits mailing list