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.17 by root, Mon Dec 3 13:41:25 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") */
8VARx(unsigned int, loop_count); /* total number of loop iterations/blocks */ 12VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */
9 13
14VARx(int, backend_fd)
10VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ 15VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
11VAR (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))
12VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) 17VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout))
13VARx(int, backend_fd)
14 18
15#if !defined(_WIN32) || EV_GENWRAP 19#if !defined(_WIN32) || EV_GENWRAP
16VARx(pid_t, curpid) 20VARx(pid_t, curpid)
17#endif 21#endif
18 22
61 65
62VARx(int *, fdchanges) 66VARx(int *, fdchanges)
63VARx(int, fdchangemax) 67VARx(int, fdchangemax)
64VARx(int, fdchangecnt) 68VARx(int, fdchangecnt)
65 69
66VARx(struct ev_timer **, timers) 70VARx(WT *, timers)
67VARx(int, timermax) 71VARx(int, timermax)
68VARx(int, timercnt) 72VARx(int, timercnt)
69 73
70#if EV_PERIODIC_ENABLE || EV_GENWRAP 74#if EV_PERIODIC_ENABLE || EV_GENWRAP
71VARx(struct ev_periodic **, periodics) 75VARx(WT *, periodics)
72VARx(int, periodicmax) 76VARx(int, periodicmax)
73VARx(int, periodiccnt) 77VARx(int, periodiccnt)
74#endif 78#endif
75 79
76VARx(struct ev_idle **, idles) 80#if EV_IDLE_ENABLE || EV_GENWRAP
77VARx(int, idlemax) 81VAR (idles, ev_idle **idles [NUMPRI])
78VARx(int, idlecnt) 82VAR (idlemax, int idlemax [NUMPRI])
83VAR (idlecnt, int idlecnt [NUMPRI])
84#endif
85VARx(int, idleall) /* total number */
79 86
80VARx(struct ev_prepare **, prepares) 87VARx(struct ev_prepare **, prepares)
81VARx(int, preparemax) 88VARx(int, preparemax)
82VARx(int, preparecnt) 89VARx(int, preparecnt)
83 90

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines