Searched refs:npriorities (Results 1 – 2 of 2) sorted by relevance
307 event_priority_init(int npriorities) in event_priority_init() argument309 return event_base_priority_init(current_base, npriorities); in event_priority_init()313 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument320 if (base->nactivequeues && npriorities != base->nactivequeues) { in event_base_priority_init()328 base->nactivequeues = npriorities; in event_base_priority_init()
1225 test_priorities(int npriorities) in test_priorities() argument1231 evutil_snprintf(buf, sizeof(buf), "Testing Priorities %d: ", npriorities); in test_priorities()1234 event_base_priority_init(global_base, npriorities); in test_priorities()1246 if (event_priority_set(&two.ev, npriorities - 1) == -1) { in test_priorities()1263 if (npriorities == 1) { in test_priorities()1266 } else if (npriorities == 2) { in test_priorities()