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

System specific implementation for Ping event sources #15

Open
elinorbgr opened this issue Apr 20, 2020 · 1 comment
Open

System specific implementation for Ping event sources #15

elinorbgr opened this issue Apr 20, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@elinorbgr
Copy link
Member

Currently Ping is implemented using a pipe, which is a generic unix way of implementing it.

However some platforms provide other primitives that could be used more efficiently for this, such as eventfd on Linux.

@notgull
Copy link
Member

notgull commented Jan 15, 2024

Some BSDs have EVFILT_USER, which can be used to wake up a kqueue without using a pipe. Similarly port_send can be used on Solaris. However I'm not sure how this would be exposed in polling.

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

No branches or pull requests

2 participants