da-viper wrote: > > I don't think we can since each platform's `lldb::file_t` may be different > > from the `waitiable handle` used in the `MainLoop`. > > I think we could still use a `MainLoop` for the implementation though (in the > `MemoryMonitorLinux` class).
I tried it but. the posix `MainLoop` only supports polling `POLLIN` not other events [see](https://www.mankier.com/0p/poll.h). Adding a mask parameter to `MainLoopPosix::RegisterReadObject` will not also work for platforms that use `kevent`. https://github.com/llvm/llvm-project/pull/178083 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
