Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

interactive-evdev: switch from epoll(2) to poll(2) #221

Merged
merged 1 commit into from
Mar 28, 2021

Conversation

bluetech
Copy link
Member

Turns out FreeBSD supports evdev, so this toll can work on it; however
it does not support epoll, so switch to poll, which is portable.

Reported-by: Evgeniy Khramtsov evgeniy@khramtsov.org
Signed-off-by: Ran Benita ran@unusedvar.com

Turns out FreeBSD supports evdev, so this toll can work on it; however
it does not support epoll, so switch to poll, which is portable.

Reported-by: Evgeniy Khramtsov <evgeniy@khramtsov.org>
Signed-off-by: Ran Benita <ran@unusedvar.com>
@bluetech bluetech merged commit 6b65be4 into xkbcommon:master Mar 28, 2021
@whot
Copy link
Contributor

whot commented Mar 28, 2021

btw, there's an epoll shim for BSD, see libinput's meson.build. We've had this for a while and I have yet to see complaints about it, so let's assume it works :)

@bluetech
Copy link
Member Author

Right, Evgeniy sent a patch by mail which does that, but I suggested just using poll instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants