Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2023-05-23 13:24:33 +0300
committerFelix Fietkau <nbd@nbd.name>2023-05-23 16:32:36 +0300
commit75a3b870cace1171faf57bd55e5a9a2f1564f757 (patch)
tree35c63732cdc5920269466c179258409d49c811d7 /uloop-epoll.c
parent362951a2d96e5c00a2ca5f9495d18cf16f43bc68 (diff)
uloop: add support for integrating with a different event loop
- support reading the next timeout in order to determine the poll timeout - add a callback for fd add/delete/update Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'uloop-epoll.c')
-rw-r--r--uloop-epoll.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/uloop-epoll.c b/uloop-epoll.c
index 609ca6e..70e45e4 100644
--- a/uloop-epoll.c
+++ b/uloop-epoll.c
@@ -53,7 +53,6 @@ static int register_poll(struct uloop_fd *fd, unsigned int flags)
ev.events |= EPOLLET;
ev.data.ptr = fd;
- fd->flags = flags;
return epoll_ctl(poll_fd, op, fd->fd, &ev);
}