From 1223c6c20b2de1fa5a3eeac28c1e6dc02274ce2c Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 8 Jan 2024 19:01:39 +0100 Subject: [PATCH] libos: Add FIXME to EventLoop --- libos/src/EventLoop.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libos/src/EventLoop.cpp b/libos/src/EventLoop.cpp index acc042fc..d7af3266 100644 --- a/libos/src/EventLoop.cpp +++ b/libos/src/EventLoop.cpp @@ -44,6 +44,7 @@ namespace os return *s_the; } + // FIXME: Support lambdas (by using os::Action). This means that os::Action needs variable parameter support. Result EventLoop::register_fd_listener(int fd, void (*listener)(int, int)) { TRY(m_fd_listeners.try_set(fd, listener));