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 revents from PollFd::new #542

Merged
merged 1 commit into from
Mar 3, 2017
Merged

Remove revents from PollFd::new #542

merged 1 commit into from
Mar 3, 2017

Commits on Mar 2, 2017

  1. Remove revents from PollFd::new

    revents is an output field so regardless of what value it is set to it
    will be overwritten by many of the function calls that take a PollFd.
    The only value that makes sense for the caller to pass in in
    `EventFlags::empty()` so we just hardcode that instead of making the
    caller do it.
    Susurrus committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    80453b9 View commit details
    Browse the repository at this point in the history