Searched refs:current_base (Results 1 – 1 of 1) sorted by relevance
116 struct event_base *current_base = NULL; variable178 if ((current_base = calloc(1, sizeof(struct event_base))) == NULL) in event_init()183 gettime(¤t_base->event_tv); in event_init()185 RB_INIT(¤t_base->timetree); in event_init()186 TAILQ_INIT(¤t_base->eventqueue); in event_init()189 current_base->evbase = NULL; in event_init()190 for (i = 0; eventops[i] && !current_base->evbase; i++) { in event_init()191 current_base->evsel = eventops[i]; in event_init()193 current_base->evbase = current_base->evsel->init(); in event_init()196 if (current_base->evbase == NULL) in event_init()[all …]