From ed3f7d82632357b7ba925cb742cd9ef61ceed26d Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Oct 2008 11:08:29 +0000 Subject: work around epoll spurious notifications --- ev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ev.c') diff --git a/ev.c b/ev.c index bcb49b5..66a70ec 100644 --- a/ev.c +++ b/ev.c @@ -452,7 +452,7 @@ typedef struct unsigned char events; unsigned char reify; unsigned char emask; /* the epoll backend stores the actual kernel mask in here */ - unsigned char unused; /* currently unused padding */ + unsigned char egen; /* generation counter to counter epoll bugs */ #if EV_SELECT_IS_WINSOCKET SOCKET handle; #endif -- cgit v1.2.3