diff options
Diffstat (limited to 'librt/kernel-posix-timers.h')
-rw-r--r-- | librt/kernel-posix-timers.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/librt/kernel-posix-timers.h b/librt/kernel-posix-timers.h index 27d3f1fd7..f8bfdc2ae 100644 --- a/librt/kernel-posix-timers.h +++ b/librt/kernel-posix-timers.h @@ -22,6 +22,11 @@ extern pthread_once_t __helper_once attribute_hidden; /* TID of the helper thread. */ extern pid_t __helper_tid attribute_hidden; + +/* List of active SIGEV_THREAD timers. */ +extern struct timer *__active_timer_sigev_thread attribute_hidden; +/* Lock for the __active_timer_sigev_thread. */ +extern pthread_mutex_t __active_timer_sigev_thread_lock attribute_hidden; #endif /* Type of timers in the kernel */ @@ -47,4 +52,7 @@ struct timer { #ifdef __UCLIBC_HAS_THREADS__ pthread_attr_t attr; #endif + + /* Next element in list of active SIGEV_THREAD timers. */ + struct timer *next; }; |