Searched refs:sigevent (Results 1 – 2 of 2) sorted by relevance
48 struct sigevent sigevent; in SetUp() local49 memset(&sigevent, 0, sizeof(sigevent)); in SetUp()50 sigevent.sigev_notify = SIGEV_THREAD; in SetUp()51 sigevent.sigev_notify_function = (void (*)(union sigval))timer_callback; in SetUp()52 sigevent.sigev_value.sival_ptr = NULL; in SetUp()53 timer_create(CLOCK_BOOTTIME, &sigevent, &timer); in SetUp()
679 struct sigevent sigevent; in timer_create_internal() local680 memset(&sigevent, 0, sizeof(sigevent)); in timer_create_internal()681 sigevent.sigev_notify = SIGEV_THREAD; in timer_create_internal()682 sigevent.sigev_notify_function = (void (*)(union sigval))timer_callback; in timer_create_internal()683 if (timer_create(clock_id, &sigevent, timer) == -1) { in timer_create_internal()