Home
last modified time | relevance | path

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

/NextBSD/usr.sbin/notifyd/
HDtimer.c253 dispatch_release(t->t_src); in timer_free()
265 if (t->t_src != NULL) dispatch_source_cancel(t->t_src); in timer_close()
294 t->t_src = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, queue); in timer_oneshot()
298 dispatch_source_set_timer(t->t_src, trigger, NSEC_PER_SEC, 0); in timer_oneshot()
300 dispatch_source_set_event_handler(t->t_src, ^{ in timer_oneshot()
302 dispatch_source_cancel(t->t_src); in timer_oneshot()
309 dispatch_resume(t->t_src); in timer_oneshot()
353 t->t_src = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, queue); in timer_clock()
357 dispatch_source_set_timer(t->t_src, trigger, freq_sec * NSEC_PER_SEC, 0); in timer_clock()
359 dispatch_source_set_event_handler(t->t_src, ^{ in timer_clock()
[all …]
HDtimer.h46 dispatch_source_t t_src; member