Home
last modified time | relevance | path

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

/external/libevent/
Devent.c1493 struct common_timeout_list *new_ctl; in event_base_init_common_timeout() local
1534 new_ctl = mm_calloc(1, sizeof(struct common_timeout_list)); in event_base_init_common_timeout()
1535 if (!new_ctl) { in event_base_init_common_timeout()
1539 TAILQ_INIT(&new_ctl->events); in event_base_init_common_timeout()
1540 new_ctl->duration.tv_sec = duration->tv_sec; in event_base_init_common_timeout()
1541 new_ctl->duration.tv_usec = in event_base_init_common_timeout()
1544 evtimer_assign(&new_ctl->timeout_event, base, in event_base_init_common_timeout()
1545 common_timeout_callback, new_ctl); in event_base_init_common_timeout()
1546 new_ctl->timeout_event.ev_flags |= EVLIST_INTERNAL; in event_base_init_common_timeout()
1547 event_priority_set(&new_ctl->timeout_event, 0); in event_base_init_common_timeout()
[all …]