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

Comparing libev/ev.h (file contents):
Revision 1.114 by root, Wed Apr 15 19:35:53 2009 UTC vs.
Revision 1.115 by root, Sat Apr 25 14:12:48 2009 UTC

80 80
81#ifndef EV_ASYNC_ENABLE 81#ifndef EV_ASYNC_ENABLE
82# define EV_ASYNC_ENABLE 1 82# define EV_ASYNC_ENABLE 1
83#endif 83#endif
84 84
85#ifndef EV_WALK_ENABLE
86# define EV_WALK_ENABLE 0 /* not yet */
87#endif
88
85#ifndef EV_ATOMIC_T 89#ifndef EV_ATOMIC_T
86# include <signal.h> 90# include <signal.h>
87# define EV_ATOMIC_T sig_atomic_t volatile 91# define EV_ATOMIC_T sig_atomic_t volatile
88#endif 92#endif
89 93
492/* if you create alternative loops you have to call ev_loop_fork on them */ 496/* if you create alternative loops you have to call ev_loop_fork on them */
493/* you can call it in either the parent or the child */ 497/* you can call it in either the parent or the child */
494/* you can actually call it at any time, anywhere :) */ 498/* you can actually call it at any time, anywhere :) */
495void ev_default_fork (void); 499void ev_default_fork (void);
496 500
497#if 0 501#if EV_WALK_ENABLE
498/* walk (almost) all watchers in the loop of a given type, invoking the */ 502/* walk (almost) all watchers in the loop of a given type, invoking the */
499/* callback on every such watcher. The callback might stop the watcher, */ 503/* callback on every such watcher. The callback might stop the watcher, */
500/* but do nothing else with the loop */ 504/* but do nothing else with the loop */
501void ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w)); 505void ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w));
502#endif 506#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines