event/EpollEvents: add mapping for EPOLLPRI
This commit is contained in:
parent
cd64f9c422
commit
abb23ba894
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
struct EpollEvents {
|
struct EpollEvents {
|
||||||
static constexpr unsigned READ = EPOLLIN;
|
static constexpr unsigned READ = EPOLLIN;
|
||||||
|
static constexpr unsigned EXCEPTIONAL = EPOLLPRI;
|
||||||
static constexpr unsigned WRITE = EPOLLOUT;
|
static constexpr unsigned WRITE = EPOLLOUT;
|
||||||
static constexpr unsigned ERROR = EPOLLERR;
|
static constexpr unsigned ERROR = EPOLLERR;
|
||||||
static constexpr unsigned HANGUP = EPOLLHUP;
|
static constexpr unsigned HANGUP = EPOLLHUP;
|
||||||
|
|
Loading…
Reference in New Issue