diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2010-02-16 12:27:18 -0800 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-02-16 12:27:18 -0800 |
commit | a032a6587011cbdac8c2f7e11f15dc4e592bbb55 (patch) | |
tree | b8d8dfc6abf0168e098223c2134a3e4bd7640942 /librt/kernel-posix-timers.h | |
parent | 70f1d42b13a741f603472f405299e5d2938aa728 (diff) |
mass sync with glibc nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
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; }; |