diff options
author | root <root> | 2007-11-04 19:45:09 +0000 |
---|---|---|
committer | root <root> | 2007-11-04 19:45:09 +0000 |
commit | c04c7d0577ceddfe470b6fdcaf727ced91a67d1a (patch) | |
tree | 7aae857c1b460c6e5c00cdd337adb2fe8d904ed2 /ev.h | |
parent | f776d56f36abeed4a6091c2ec9b96363213ce2b2 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r-- | ev.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -283,6 +283,7 @@ void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revent #define ev_check_init(ev,cb) do { ev_watcher_init ((ev), (cb)); ev_check_set ((ev)); } while (0) #define ev_child_init(ev,cb,pid) do { ev_watcher_init ((ev), (cb)); ev_child_set ((ev),(pid)); } while (0) +#define ev_is_pending(ev) (0 + (ev)->pending) /* true when watcher is waiting for callback invocation */ #define ev_is_active(ev) (0 + (ev)->active) /* true when the watcher has been started */ #define ev_set_priority(ev,pri) (ev)->priority = pri |