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

Comparing libev/ev.h (file contents):
Revision 1.100 by root, Fri May 2 08:36:20 2008 UTC vs.
Revision 1.101 by root, Wed May 21 23:25:21 2008 UTC

164/* 164/*
165 * struct member types: 165 * struct member types:
166 * private: you can look at them, but not change them, and they might not mean anything to you. 166 * private: you can look at them, but not change them, and they might not mean anything to you.
167 * ro: can be read anytime, but only changed when the watcher isn't active 167 * ro: can be read anytime, but only changed when the watcher isn't active
168 * rw: can be read and modified anytime, even when the watcher is active 168 * rw: can be read and modified anytime, even when the watcher is active
169 *
170 * some internal details that might be helpful for debugging:
171 *
172 * active is either 0, which means the watcher is not active,
173 * or the array index of the watcher (periodics, timers)
174 * or the array index + 1 (most other watchers)
175 * or simply 1 for watchers that aren't in some array.
176 * pending is either 0, in which case the watcher isn't,
177 * or the array index + 1 in the pendings array.
169 */ 178 */
170 179
171/* shared by all watchers */ 180/* shared by all watchers */
172#define EV_WATCHER(type) \ 181#define EV_WATCHER(type) \
173 int active; /* private */ \ 182 int active; /* private */ \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines