Home
last modified time | relevance | path

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

/rt/
A Dtst-timer3.c20 struct sigevent *const sigev = arg; in do_timer_create() local
21 timer_t *const timerId = sigev->sigev_value.sival_ptr; in do_timer_create()
22 if (timer_create (CLOCK_REALTIME, sigev, timerId) < 0) in do_timer_create()
37 struct sigevent sigev; in do_test() local
44 sigev.sigev_notify = SIGEV_SIGNAL; in do_test()
45 sigev.sigev_signo = SIGALRM; in do_test()
46 sigev.sigev_value.sival_ptr = (void *) &timerId; in do_test()
53 res = pthread_create (&thr, NULL, &do_timer_create, &sigev); in do_test()
A Dtst-timer2.c25 struct sigevent sigev; in do_test() local
32 sigev.sigev_notify = SIGEV_THREAD; in do_test()
33 sigev.sigev_notify_function = thread; in do_test()
34 sigev.sigev_notify_attributes = NULL; in do_test()
35 sigev.sigev_value.sival_ptr = (void *) &timerId; in do_test()
41 if (timer_create (CLOCK_REALTIME, &sigev, &timerId) < 0) in do_test()
A Daio_notify.c55 __aio_notify_only (struct sigevent *sigev) in __aio_notify_only() argument
60 if (__glibc_unlikely (sigev->sigev_notify == SIGEV_THREAD)) in __aio_notify_only()
66 pattr = (pthread_attr_t *) sigev->sigev_notify_attributes; in __aio_notify_only()
86 nf->func = sigev->sigev_notify_function; in __aio_notify_only()
87 nf->value = sigev->sigev_value; in __aio_notify_only()
95 else if (sigev->sigev_notify == SIGEV_SIGNAL) in __aio_notify_only()
101 if (__aio_sigqueue (sigev->sigev_signo, sigev->sigev_value, getpid ()) in __aio_notify_only()
106 result = raise (sigev->sigev_signo); in __aio_notify_only()
A Dlio_listio-common.c55 struct sigevent sigev; member
214 waitlist->list[cnt].sigevp = &waitlist->sigev; in lio_listio_internal()
221 waitlist->sigev = *sig; in lio_listio_internal()

Completed in 8 milliseconds