diff options
author | root <root> | 2009-04-15 19:35:53 +0000 |
---|---|---|
committer | root <root> | 2009-04-15 19:35:53 +0000 |
commit | 063940f2d384a70bbf0499865ca0e54e99b96f23 (patch) | |
tree | bccd47935a27a6d4e0e407bc27500a8a5aee2fce /ev.h | |
parent | fccdbf50f2094e18861bcb38d5b980212d04c242 (diff) |
resume/suspend
Diffstat (limited to 'ev.h')
-rw-r--r-- | ev.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -526,8 +526,16 @@ void ev_set_timeout_collect_interval (EV_P_ ev_tstamp interval); /* sleep at lea void ev_ref (EV_P); void ev_unref (EV_P); -/* convenience function, wait for a single event, without registering an event watcher */ -/* if timeout is < 0, do wait indefinitely */ +/* + * stop/start the timer handling. + */ +void ev_suspend (EV_P); +void ev_resume (EV_P); + +/* + * convenience function, wait for a single event, without registering an event watcher + * if timeout is < 0, do wait indefinitely + */ void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg); #endif |