diff options
author | Szabolcs Nagy <nsz@port70.net> | 2016-03-19 13:37:03 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-03-19 11:31:19 -0400 |
commit | b10ca0f560491ed9e353ead6e35f8992e9800c7a (patch) | |
tree | 19be95d1397f20a687f91c9e032624674aa82f5e /include | |
parent | c1aabc6cacc15feef8e5db4cbfee14ee8be2ff26 (diff) | |
download | musl-b10ca0f560491ed9e353ead6e35f8992e9800c7a.tar.gz musl-b10ca0f560491ed9e353ead6e35f8992e9800c7a.tar.bz2 musl-b10ca0f560491ed9e353ead6e35f8992e9800c7a.tar.xz musl-b10ca0f560491ed9e353ead6e35f8992e9800c7a.zip |
add EPOLLEXCLUSIVE epoll flag from linux v4.5
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
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/epoll.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/epoll.h b/include/sys/epoll.h index 1f0312e5..ffe2311f 100644 --- 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) |