Explorar o código

add EPOLLWAKEUP flag to sys/epoll.h

Szabolcs Nagy %!s(int64=12) %!d(string=hai) anos
pai
achega
ada88f6178
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/sys/epoll.h

+ 1 - 0
include/sys/epoll.h

@@ -28,6 +28,7 @@ enum EPOLL_EVENTS { __EPOLL_DUMMY };
 #define EPOLLERR 0x008
 #define EPOLLHUP 0x010
 #define EPOLLRDHUP 0x2000
+#define EPOLLWAKEUP (1U<<29)
 #define EPOLLONESHOT (1U<<30)
 #define EPOLLET (1U<<31)