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

epoll: Add EPOLLEXCLUSIVE flag. #330

Merged
merged 1 commit into from
Mar 28, 2016
Merged

epoll: Add EPOLLEXCLUSIVE flag. #330

merged 1 commit into from
Mar 28, 2016

Conversation

kubo39
Copy link
Contributor

@kubo39 kubo39 commented Mar 28, 2016

EPOLLEXCLUSIVE flag is available in Linux4.5.

EPOLLEXCLUSIVE flag is available in Linux4.5.
@kamalmarhubi
Copy link
Member

Thanks for the PR! Any chance I can also get you to open a PR to add it to the libc crate?

The place to add EPOLL* flags is likely here: https://github.com/rust-lang/libc/blob/cd925e0ce1958b3e8561932cbe1fad5b328a8b95/src/unix/notbsd/mod.rs#L424-L434

In general, we're moving to using definitions from the libc crate, so adding it there will make it easier to clean up this module when we shift to using libc definitions. :-)

@kamalmarhubi
Copy link
Member

@homu r+

@homu
Copy link
Contributor

homu commented Mar 28, 2016

📌 Commit 09cde3b has been approved by kamalmarhubi

@homu
Copy link
Contributor

homu commented Mar 28, 2016

⚡ Test exempted - status

@homu homu merged commit 09cde3b into nix-rust:master Mar 28, 2016
homu added a commit that referenced this pull request Mar 28, 2016
epoll: Add EPOLLEXCLUSIVE flag.

EPOLLEXCLUSIVE flag is available in Linux4.5.
@kubo39 kubo39 deleted the epollexclusive branch March 29, 2016 14:29
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.

3 participants