ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_vars.h
(Generate patch)

Comparing libev/ev_vars.h (file contents):
Revision 1.16 by root, Thu Nov 29 17:28:13 2007 UTC vs.
Revision 1.22 by root, Sat Dec 22 07:31:47 2007 UTC

1#define VARx(type,name) VAR(name, type name) 1#define VARx(type,name) VAR(name, type name)
2 2
3VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */ 3VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */
4VARx(ev_tstamp, mn_now) /* monotonic clock "now" */ 4VARx(ev_tstamp, mn_now) /* monotonic clock "now" */
5VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */ 5VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */
6
7VARx(ev_tstamp, io_blocktime)
8VARx(ev_tstamp, timeout_blocktime)
9
6VARx(int, backend) 10VARx(int, backend)
7VARx(int, activecnt) /* total number of active events ("refcount") */ 11VARx(int, activecnt) /* total number of active events ("refcount") */
12VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */
8 13
14VARx(int, backend_fd)
9VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ 15VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
10VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) 16VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev))
11VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) 17VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout))
12VARx(int, backend_fd)
13 18
14#if !defined(_WIN32) || EV_GENWRAP 19#if !defined(_WIN32) || EV_GENWRAP
15VARx(pid_t, curpid) 20VARx(pid_t, curpid)
16#endif 21#endif
17 22
60 65
61VARx(int *, fdchanges) 66VARx(int *, fdchanges)
62VARx(int, fdchangemax) 67VARx(int, fdchangemax)
63VARx(int, fdchangecnt) 68VARx(int, fdchangecnt)
64 69
65VARx(struct ev_timer **, timers) 70VARx(WT *, timers)
66VARx(int, timermax) 71VARx(int, timermax)
67VARx(int, timercnt) 72VARx(int, timercnt)
68 73
69#if EV_PERIODIC_ENABLE || EV_GENWRAP 74#if EV_PERIODIC_ENABLE || EV_GENWRAP
70VARx(struct ev_periodic **, periodics) 75VARx(WT *, periodics)
71VARx(int, periodicmax) 76VARx(int, periodicmax)
72VARx(int, periodiccnt) 77VARx(int, periodiccnt)
73#endif 78#endif
74 79
75VARx(struct ev_idle **, idles) 80#if EV_IDLE_ENABLE || EV_GENWRAP
76VARx(int, idlemax) 81VAR (idles, ev_idle **idles [NUMPRI])
77VARx(int, idlecnt) 82VAR (idlemax, int idlemax [NUMPRI])
83VAR (idlecnt, int idlecnt [NUMPRI])
84#endif
85VARx(int, idleall) /* total number */
78 86
79VARx(struct ev_prepare **, prepares) 87VARx(struct ev_prepare **, prepares)
80VARx(int, preparemax) 88VARx(int, preparemax)
81VARx(int, preparecnt) 89VARx(int, preparecnt)
82 90

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines