diff options
author | root <root> | 2009-04-25 14:12:48 +0000 |
---|---|---|
committer | root <root> | 2009-04-25 14:12:48 +0000 |
commit | 4b6b72d096ca28a8e042d384bd82c2df28c93a1a (patch) | |
tree | 344fa19b4e9a1d1b74f186dc43d4d873a49a25e5 /ev.h | |
parent | b944ec26eb10a7944b614be49254d4d740a17de9 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r-- | ev.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -82,6 +82,10 @@ typedef double ev_tstamp; # define EV_ASYNC_ENABLE 1 #endif +#ifndef EV_WALK_ENABLE +# define EV_WALK_ENABLE 0 /* not yet */ +#endif + #ifndef EV_ATOMIC_T # include <signal.h> # define EV_ATOMIC_T sig_atomic_t volatile @@ -494,7 +498,7 @@ void ev_default_destroy (void); /* destroy the default loop */ /* you can actually call it at any time, anywhere :) */ void ev_default_fork (void); -#if 0 +#if EV_WALK_ENABLE /* walk (almost) all watchers in the loop of a given type, invoking the */ /* callback on every such watcher. The callback might stop the watcher, */ /* but do nothing else with the loop */ |