struct timer_wheel {
char *name;
- struct event_master *master;
+ struct event_loop *master;
int slots;
long long curr_slot;
unsigned int period;
* and cause significant amount of time handling thread events instead
* of running your code.
*/
-struct timer_wheel *wheel_init(struct event_master *master, int period,
+struct timer_wheel *wheel_init(struct event_loop *master, int period,
size_t slots,
unsigned int (*slot_key)(const void *),
void (*slot_run)(void *), const char *run_name);