X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/b7e58d7ed7f85d7cb7fe1c34cfe3fa2484a6dc31..15231b01d6df419056fbc6d97bc10a2f8f79da00:/ev_vars.h?ds=sidebyside diff --git a/ev_vars.h b/ev_vars.h index 080ba55..c93d23a 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) @@ -80,5 +80,17 @@ VARx(struct ev_check **, checks) VARx(int, checkmax) VARx(int, checkcnt) +#if EV_FORK_ENABLE || EV_GENWRAP +VARx(struct ev_fork **, forks) +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