================ @@ -31,20 +31,27 @@ class MainLoopWindows : public MainLoopBase { Status Run() override; + struct FdInfo { + FdInfo(intptr_t event, Callback callback) + : event(event), callback(callback) {} + virtual ~FdInfo() {} + virtual void WillPoll() {} + virtual void DidPoll() {} + virtual void Disarm() {} + intptr_t event; + Callback callback; ---------------- ashgti wrote:
I reverted this so we have the previous `struct FdInfo` and made the event into its own `IOEvent` type instead. I also made this a class and used accessors instead of making ivars public. https://github.com/llvm/llvm-project/pull/145621 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits