summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2008-10-27 11:08:29 +0000
committerroot <root>2008-10-27 11:08:29 +0000
commited3f7d82632357b7ba925cb742cd9ef61ceed26d (patch)
tree1c03ccb4ac30a7c147b4b5be39f99b5fe1325e14 /ev.c
parent591339236dd05d5184c977fea78de5f5d82e70e1 (diff)
work around epoll spurious notifications
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
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