Skip to content

Commit

Permalink
Auto merge of #330 - kubo39:epollexclusive, r=kamalmarhubi
Browse files Browse the repository at this point in the history
epoll: Add EPOLLEXCLUSIVE flag.

EPOLLEXCLUSIVE flag is available in Linux4.5.
  • Loading branch information
homu committed Mar 28, 2016
2 parents 29c1697 + 09cde3b commit 8cca49b
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 8cca49b

Please sign in to comment.