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

Comparing libev/ev.h (file contents):
Revision 1.55 by root, Mon Nov 12 06:34:50 2007 UTC vs.
Revision 1.57 by root, Mon Nov 12 21:51:14 2007 UTC

201struct ev_check 201struct ev_check
202{ 202{
203 EV_WATCHER (ev_check) 203 EV_WATCHER (ev_check)
204}; 204};
205 205
206/* invoked when sigchld is received and waitpid indicates the givne pid */ 206/* invoked when sigchld is received and waitpid indicates the given pid */
207/* revent EV_CHILD */ 207/* revent EV_CHILD */
208/* does not support priorities */ 208/* does not support priorities */
209struct ev_child 209struct ev_child
210{ 210{
211 EV_WATCHER_LIST (ev_child) 211 EV_WATCHER_LIST (ev_child)
301unsigned int ev_method (EV_P); 301unsigned int ev_method (EV_P);
302#endif 302#endif
303 303
304#define EVLOOP_NONBLOCK 1 /* do not block/wait */ 304#define EVLOOP_NONBLOCK 1 /* do not block/wait */
305#define EVLOOP_ONESHOT 2 /* block *once* only */ 305#define EVLOOP_ONESHOT 2 /* block *once* only */
306#define EVUNLOOP_ONCE 1 /* unloop once */ 306#define EVUNLOOP_ONE 1 /* unloop once */
307#define EVUNLOOP_ALL 2 /* unloop all loops */ 307#define EVUNLOOP_ALL 2 /* unloop all loops */
308 308
309#if EV_PROTOTYPES 309#if EV_PROTOTYPES
310void ev_loop (EV_P_ int flags); 310void ev_loop (EV_P_ int flags);
311void ev_unloop (EV_P_ int how); /* set to 1 to break out of event loop, set to 2 to break out of all event loops */ 311void ev_unloop (EV_P_ int how); /* set to 1 to break out of event loop, set to 2 to break out of all event loops */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines