Home
last modified time | relevance | path

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

/system/bt/osi/test/
DAlarmTestHarness.cpp48 struct sigevent sigevent; in SetUp() local
49 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()
/system/bt/osi/src/
Dalarm.c679 struct sigevent sigevent; in timer_create_internal() local
680 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()