projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1aabc6
)
add EPOLLEXCLUSIVE epoll flag from linux v4.5
author
Szabolcs Nagy
<nsz@port70.net>
Sat, 19 Mar 2016 12:37:03 +0000
(13:37 +0100)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 19 Mar 2016 15:31:19 +0000
(11:31 -0400)
new flag for exclusive wakeup mode when an event source fd is attached
to multiple epoll fds but they should not all receive the events.
new in linux commit
df0108c5da561c66c333bb46bfe3c1fc65905898
include/sys/epoll.h
patch
|
blob
|
history
diff --git
a/include/sys/epoll.h
b/include/sys/epoll.h
index 1f0312e59ee217b55c954347ac46537974910d55..ffe2311f97d3a121b4e717b349dbf33239f41bc8 100644
(file)
--- a/
include/sys/epoll.h
+++ b/
include/sys/epoll.h
@@
-28,6
+28,7
@@
enum EPOLL_EVENTS { __EPOLL_DUMMY };
#define EPOLLERR 0x008
#define EPOLLHUP 0x010
#define EPOLLRDHUP 0x2000
+#define EPOLLEXCLUSIVE (1U<<28)
#define EPOLLWAKEUP (1U<<29)
#define EPOLLONESHOT (1U<<30)
#define EPOLLET (1U<<31)