Function netio_timer_init
Defined in File eventloop.c
Function Documentation
-
void netio_timer_init(struct netio_eventloop *evloop, struct netio_timer *timer)
Initializes a timer and registers it with the event loop.
Internally, timers are implemented using
timerfd
.- Parameters:
evloop – The event loop in which the timer will be registered