| /libev/ |
| H A D | ev++.h | 269 ev_once (EV_AX_ fd, events, timeout, cb, arg); in throw() 274 void once (int fd, int events, tstamp timeout, K *object) throw () in once() 276 once (fd, events, timeout, method_thunk<K, method>, object); in once() 281 void once (int fd, int events, tstamp timeout, K *object) throw () in once() 283 once (fd, events, timeout, method_thunk<K, &K::operator ()>, object); in once() 295 void once (int fd, int events, tstamp timeout, K *object) throw () in once() 297 once (fd, events, timeout, method_noargs_thunk<K, method>, object); in once() 309 void once (int fd, int events, tstamp timeout) throw () in once() 311 once (fd, events, timeout, simpler_func_thunk<cb>); in once() 323 void once (int fd, int events, tstamp timeout) throw () in once() [all …]
|
| H A D | ev_select.c | 140 select_poll (EV_P_ ev_tstamp timeout) in select_poll() argument 147 EV_TV_SET (tv, timeout); in select_poll() 198 if (timeout) in select_poll() 200 unsigned long ms = timeout * 1e3; in select_poll()
|
| H A D | ev_epoll.c | 142 epoll_poll (EV_P_ ev_tstamp timeout) in epoll_poll() argument 148 timeout = 0.; in epoll_poll() 153 eventcnt = epoll_wait (backend_fd, epoll_events, epoll_eventmax, timeout * 1e3); in epoll_poll()
|
| H A D | ev.pod | 41 puts ("timeout"); 1808 In the following, a 60 second activity timeout is assumed - a timeout that 1882 ev_tstamp timeout = 60.; 1942 When your timeout value changes, then the timeout can be changed by simply 1946 timeout = new_value; 1956 employing some kind of timeout with the same timeout value, then one can 1959 When starting the timeout, calculate the timeout value and put the timeout 1971 complication, and having to use a constant timeout. The constant timeout 3112 if (timeout >= 0) 3119 if (timeout >= 0) [all …]
|
| H A D | ev_port.c | 93 port_poll (EV_P_ ev_tstamp timeout) in port_poll() argument 105 EV_TS_SET (ts, timeout); in port_poll()
|
| H A D | ev_poll.c | 89 poll_poll (EV_P_ ev_tstamp timeout) in poll_poll() argument 95 res = poll (polls, pollcnt, timeout * 1e3); in poll_poll()
|
| H A D | ev_kqueue.c | 86 kqueue_poll (EV_P_ ev_tstamp timeout) in kqueue_poll() argument 100 EV_TS_SET (ts, timeout); in kqueue_poll()
|
| H A D | Changes | 125 timeout == now, also improve the section overall. 170 - fix a bug where a timeout of zero caused the timer not to fire 384 - ev_once now passes both timeout and io to the callback if both 498 - new ev_sleep, ev_set_(io|timeout)_collect_interval.
|
| H A D | ev_vars.h | 67 VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout))
|
| H A D | ev.h | 654 EV_API_DECL void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void…
|
| H A D | ev.c | 4950 ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg… in ev_once() argument 4971 if (timeout >= 0.) in ev_once() 4973 ev_timer_set (&once->to, timeout, 0.); in ev_once()
|