Merge "eventpoll.h: fix epoll event masks"
This commit is contained in:
commit
a7dbc5dea2
1 changed files with 6 additions and 3 deletions
|
@ -39,6 +39,9 @@
|
|||
#define EPOLLMSG 0x00000400
|
||||
#define EPOLLRDHUP 0x00002000
|
||||
|
||||
/* Set exclusive wakeup mode for the target file descriptor */
|
||||
#define EPOLLEXCLUSIVE (1U << 28)
|
||||
|
||||
/*
|
||||
* Request the handling of system wakeup events so as to prevent system suspends
|
||||
* from happening while those events are being processed.
|
||||
|
@ -49,13 +52,13 @@
|
|||
*
|
||||
* Requires CAP_BLOCK_SUSPEND
|
||||
*/
|
||||
#define EPOLLWAKEUP (1 << 29)
|
||||
#define EPOLLWAKEUP (1U << 29)
|
||||
|
||||
/* Set the One Shot behaviour for the target file descriptor */
|
||||
#define EPOLLONESHOT (1 << 30)
|
||||
#define EPOLLONESHOT (1U << 30)
|
||||
|
||||
/* Set the Edge Triggered behaviour for the target file descriptor */
|
||||
#define EPOLLET (1 << 31)
|
||||
#define EPOLLET (1U << 31)
|
||||
|
||||
/*
|
||||
* On x86-64 make the 64bit structure have the same alignment as the
|
||||
|
|
Loading…
Add table
Reference in a new issue