Skip to content

Commit

Permalink
epoll: Add EPOLLEXCLUSIVE flag.
Browse files Browse the repository at this point in the history
EPOLLEXCLUSIVE flag is available in Linux4.5.
  • Loading branch information
kubo39 committed Mar 28, 2016
1 parent 29c1697 commit 09cde3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sys/epoll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ bitflags!(
const EPOLLERR = 0x008,
const EPOLLHUP = 0x010,
const EPOLLRDHUP = 0x2000,
const EPOLLEXCLUSIVE = 1 << 28,
const EPOLLWAKEUP = 1 << 29,
const EPOLLONESHOT = 1 << 30,
const EPOLLET = 1 << 31
Expand Down

0 comments on commit 09cde3b

Please sign in to comment.