epollet Questions
1
Solved
Also see this question, unanswered as of now.
There is a lot of confusion about EPOLLHUP, even in the man and Kernel docs. People seem to believe it is returned when polling on a descriptor locally...
Shell asked 24/10, 2018 at 18:56
2
Is it possible to use epoll in one-shot level-triggered mode?
I couldn't find any information on it when I searched; it seems everyone uses edge-triggered mode.
1
Solved
I'm rather new to event based programming. I'm experimenting with epoll's edge-mode which apparently only signals files which have become ready for read/write (as opposed to level-mode which signal...
Dude asked 23/7, 2015 at 8:23
2
Solved
I'm using epoll to write a media server. The fds are all set to non-blocking and I'm using edge-triggered events. I know for EPOLLIN I need to loop over reading the fd until EAGAIN is returned. But...
1
© 2022 - 2024 — McMap. All rights reserved.