Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for epoll polling mode #16

Open
designinlife opened this issue Nov 7, 2018 · 4 comments
Open

Add support for epoll polling mode #16

designinlife opened this issue Nov 7, 2018 · 4 comments

Comments

@designinlife
Copy link

Is polling in epoll mode?

@samhocevar
Copy link
Owner

No, it uses plain old select. The software was written in 1997, at a time when poll was not yet standard.

@fivetime
Copy link

Can you add support for epoll?

@samhocevar samhocevar changed the title Is polling in epoll mode? Add support for epoll polling mode Feb 13, 2021
@notcomsed
Copy link

I write a fork use epoll instead of select,but it base on https://github.com/boutell/rinetd, so I cannot pull requests. And orther fork like https://github.com/rogerwangzy/rinetdplus, use ae(epoll) to replace select. This is my fork https://github.com/notcomsed/rinetd-epoll .

@marcin-gryszkalis
Copy link

There's also patch in FreeBSD ports: https://github.com/freebsd/freebsd-ports/blob/main/net/rinetd/files/patch-select2poll
I looked at it as I'm trying to update this port to current rinetd - but I think that it makes more sense to switch to libevent and get support for all modern tech like epoll on linux, kqueue on freebsd etc.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

5 participants