2 * kernel-posix-timers.h - kernel-dependent definitions for POSIX timers.
9 #ifdef __UCLIBC_HAS_THREADS__
13 /* Type of timers in the kernel */
14 typedef int kernel_timer_t;
16 /* Internal representation of timer */
18 /* Notification mechanism */
21 /* Timer ID returned by the kernel */
22 kernel_timer_t ktimerid;
25 * All new elements must be added after ktimerid. And if the thrfunc
26 * element is not the third element anymore the memory allocation in
27 * timer_create needs to be changed.
30 /* Parameters for the thread to be started for SIGEV_THREAD */
31 void (*thrfunc) (sigval_t);
33 #ifdef __UCLIBC_HAS_THREADS__