libos: Add FIXME to EventLoop
This commit is contained in:
parent
fd402083d7
commit
1223c6c20b
@ -44,6 +44,7 @@ namespace os
|
|||||||
return *s_the;
|
return *s_the;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: Support lambdas (by using os::Action). This means that os::Action needs variable parameter support.
|
||||||
Result<void> EventLoop::register_fd_listener(int fd, void (*listener)(int, int))
|
Result<void> EventLoop::register_fd_listener(int fd, void (*listener)(int, int))
|
||||||
{
|
{
|
||||||
TRY(m_fd_listeners.try_set(fd, listener));
|
TRY(m_fd_listeners.try_set(fd, listener));
|
||||||
|
Loading…
Reference in New Issue
Block a user