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

Remove unneeded poll flags #46

Merged
merged 1 commit into from
Dec 21, 2017
Merged

Remove unneeded poll flags #46

merged 1 commit into from
Dec 21, 2017

Conversation

nirs
Copy link
Collaborator

@nirs nirs commented Dec 21, 2017

According to poll(2) POLLERR and POLLHUP are are meaningless in the
events field, and will be set in the revents field whenever the
corresponding condition is true. So there is no need to register for
these events.

POLLPRI means there is urgent data to read. This can be read using the
MSG_OOB flag, but manhole-cli does not use this feature, so there is no
need to wait for this event.

According to poll(2) POLLERR and POLLHUP are are meaningless in the
events field, and will be set in the revents field whenever the
corresponding condition is true. So there is no need to register for
these events.

POLLPRI means there is urgent data to read. This can be read using the
MSG_OOB flag, but manhole-cli does not use this feature, so there is no
need to wait for this event.
@ionelmc ionelmc merged commit a116b52 into ionelmc:master Dec 21, 2017
@ionelmc
Copy link
Owner

ionelmc commented Dec 21, 2017

Hey there, welcome back!

@nirs nirs deleted the poll-flags branch December 27, 2017 01:57
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.

2 participants