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.
Willettewilley asked 26/8, 2016 at 19:24

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...
Usance asked 5/7, 2011 at 15:0
1

© 2022 - 2024 — McMap. All rights reserved.