Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_finalize.c260 struct event_and_count evc1, evc2; in test_fin_within_cb() local
261 evc1.count = evc2.count = 0; in test_fin_within_cb()
262 evc2.ev2 = evc1.ev = evtimer_new(base, timer_callback_2, &evc1); in test_fin_within_cb()
263 evc1.ev2 = evc2.ev = evtimer_new(base, timer_callback_2, &evc2); in test_fin_within_cb()
269 event_active(evc2.ev, EV_TIMEOUT, 1); in test_fin_within_cb()
273 tt_int_op(evc2.count, ==, 100); in test_fin_within_cb()
277 evc1.count = evc2.count = 0; in test_fin_within_cb()
278 evc2.ev2 = evc1.ev = event_new(base, -1, EV_PERSIST, timer_callback_2, &evc1); in test_fin_within_cb()
279 evc1.ev2 = evc2.ev = event_new(base, -1, EV_PERSIST, timer_callback_2, &evc2); in test_fin_within_cb()
282 event_active(evc2.ev, EV_TIMEOUT, 1); in test_fin_within_cb()
[all …]