Searched refs:sigevent (Results 1 – 2 of 2) sorted by relevance
670 struct sigevent sigevent; in timer_create_internal() local679 memset(&sigevent, 0, sizeof(sigevent)); in timer_create_internal()680 sigevent.sigev_notify = SIGEV_THREAD; in timer_create_internal()681 sigevent.sigev_notify_function = (void (*)(union sigval))timer_callback; in timer_create_internal()682 sigevent.sigev_notify_attributes = &thread_attr; in timer_create_internal()683 if (timer_create(clock_id, &sigevent, timer) == -1) { in timer_create_internal()
60 struct sigevent sigevt = {}; in init()