Home | History | Annotate | Download | only in libevent

Lines Matching full:new_ctl

1188 	struct common_timeout_list *new_ctl;
1229 new_ctl = mm_calloc(1, sizeof(struct common_timeout_list));
1230 if (!new_ctl) {
1234 TAILQ_INIT(&new_ctl->events);
1235 new_ctl->duration.tv_sec = duration->tv_sec;
1236 new_ctl->duration.tv_usec =
1239 evtimer_assign(&new_ctl->timeout_event, base,
1240 common_timeout_callback, new_ctl);
1241 new_ctl->timeout_event.ev_flags |= EVLIST_INTERNAL;
1242 event_priority_set(&new_ctl->timeout_event, 0);
1243 new_ctl->base = base;
1244 base->common_timeout_queues[base->n_common_timeouts++] = new_ctl;
1245 result = &new_ctl->duration;