Searched refs:timeheap (Results 1 – 2 of 2) sorted by relevance
181 min_heap_ctor(&base->timeheap); in event_base_new()228 while ((ev = min_heap_top(&base->timeheap)) != NULL) { in event_base_free()254 assert(min_heap_empty(&base->timeheap)); in event_base_free()255 min_heap_dtor(&base->timeheap); in event_base_free()722 if (min_heap_reserve(&base->timeheap, in event_add()723 1 + min_heap_size(&base->timeheap)) == -1) in event_add()839 if ((ev = min_heap_top(&base->timeheap)) == NULL) { in timeout_next()893 pev = base->timeheap.p; in timeout_correct()894 size = base->timeheap.n; in timeout_correct()909 if (min_heap_empty(&base->timeheap)) in timeout_process()[all …]
68 struct min_heap timeheap; member