From 4ebe9e295b974622f802229ca8e371ee6df9525a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 28 Nov 2007 11:15:55 +0000 Subject: experimental, and likely broken, inotify support --- ev_vars.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'ev_vars.h') diff --git a/ev_vars.h b/ev_vars.h index c1bfaa4..3750492 100644 --- a/ev_vars.h +++ b/ev_vars.h @@ -2,7 +2,7 @@ VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */ VARx(ev_tstamp, mn_now) /* monotonic clock "now" */ -VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */ +VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */ VARx(int, backend) VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ @@ -11,7 +11,7 @@ VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) VARx(int, backend_fd) VARx(int, postfork) /* true if we need to recreate kernel state after fork */ -VARx(int, activecnt) /* number of active events */ +VARx(int, activecnt) /* total number of active events ("refcount") */ #if EV_USE_SELECT || EV_GENWRAP VARx(void *, vec_ri) @@ -86,5 +86,11 @@ VARx(int, forkmax) VARx(int, forkcnt) #endif +#if EV_USE_INOTIFY || EV_GENWRAP +VARx(int, fs_fd) +VARx(ev_io, fs_w); +VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) +#endif + #undef VARx -- cgit v1.2.3