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.39 by root, Tue Mar 16 00:26:42 2010 UTC vs.
Revision 1.42 by root, Sat Oct 23 22:25:44 2010 UTC

1/* 1/*
2 * loop member variable declarations 2 * loop member variable declarations
3 * 3 *
4 * Copyright (c) 2007,2008,2009 Marc Alexander Lehmann <libev@schmorp.de> 4 * Copyright (c) 2007,2008,2009,2010 Marc Alexander Lehmann <libev@schmorp.de>
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without modifica- 7 * Redistribution and use in source and binary forms, with or without modifica-
8 * tion, are permitted provided that the following conditions are met: 8 * tion, are permitted provided that the following conditions are met:
9 * 9 *
46VARx(ev_tstamp, io_blocktime) 46VARx(ev_tstamp, io_blocktime)
47VARx(ev_tstamp, timeout_blocktime) 47VARx(ev_tstamp, timeout_blocktime)
48 48
49VARx(int, backend) 49VARx(int, backend)
50VARx(int, activecnt) /* total number of active events ("refcount") */ 50VARx(int, activecnt) /* total number of active events ("refcount") */
51VARx(unsigned char, loop_done) /* signal by ev_unloop */ 51VARx(EV_ATOMIC_T, loop_done) /* signal by ev_break */
52 52
53VARx(int, backend_fd) 53VARx(int, backend_fd)
54VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ 54VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
55VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) 55VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev))
56VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) 56VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout))
115#if EV_USE_PORT || EV_GENWRAP 115#if EV_USE_PORT || EV_GENWRAP
116VARx(struct port_event *, port_events) 116VARx(struct port_event *, port_events)
117VARx(int, port_eventmax) 117VARx(int, port_eventmax)
118#endif 118#endif
119 119
120#if EV_USE_IOCP || EV_GENWRAP
121VARx(HANDLE, iocp)
122#endif
123
120VARx(int *, fdchanges) 124VARx(int *, fdchanges)
121VARx(int, fdchangemax) 125VARx(int, fdchangemax)
122VARx(int, fdchangecnt) 126VARx(int, fdchangecnt)
123 127
124VARx(ANHE *, timers) 128VARx(ANHE *, timers)
173VARx(sigset_t, sigfd_set) 177VARx(sigset_t, sigfd_set)
174#endif 178#endif
175 179
176#if EV_FEATURE_API || EV_GENWRAP 180#if EV_FEATURE_API || EV_GENWRAP
177VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ 181VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */
178VARx(unsigned int, loop_depth) /* #ev_loop enters - #ev_loop leaves */ 182VARx(unsigned int, loop_depth) /* #ev_run enters - #ev_run leaves */
179 183
180VARx(void *, userdata) 184VARx(void *, userdata)
181VAR (release_cb, void (*release_cb)(EV_P)) 185VAR (release_cb, void (*release_cb)(EV_P))
182VAR (acquire_cb, void (*acquire_cb)(EV_P)) 186VAR (acquire_cb, void (*acquire_cb)(EV_P))
183VAR (invoke_cb , void (*invoke_cb) (EV_P)) 187VAR (invoke_cb , void (*invoke_cb) (EV_P))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines