Home
last modified time | relevance | path

Searched refs:new_ctl (Results 1 – 1 of 1) sorted by relevance

/external/libevent/
Devent.c1450 struct common_timeout_list *new_ctl; in event_base_init_common_timeout() local
1491 new_ctl = mm_calloc(1, sizeof(struct common_timeout_list)); in event_base_init_common_timeout()
1492 if (!new_ctl) { in event_base_init_common_timeout()
1496 TAILQ_INIT(&new_ctl->events); in event_base_init_common_timeout()
1497 new_ctl->duration.tv_sec = duration->tv_sec; in event_base_init_common_timeout()
1498 new_ctl->duration.tv_usec = in event_base_init_common_timeout()
1501 evtimer_assign(&new_ctl->timeout_event, base, in event_base_init_common_timeout()
1502 common_timeout_callback, new_ctl); in event_base_init_common_timeout()
1503 new_ctl->timeout_event.ev_flags |= EVLIST_INTERNAL; in event_base_init_common_timeout()
1504 event_priority_set(&new_ctl->timeout_event, 0); in event_base_init_common_timeout()
[all …]