about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-10-28 19:46:50 +0000
committerUlrich Drepper <drepper@redhat.com>2007-10-28 19:46:50 +0000
commitf160a450c930f214f218f0c975abf188d367716f (patch)
tree110fc0d723c02447cc18d452d4886aa88f870efc /nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h
parent22c915ac42b6890383da4b1b0b63f9a15408a01c (diff)
downloadglibc-f160a450c930f214f218f0c975abf188d367716f.tar.gz
glibc-f160a450c930f214f218f0c975abf188d367716f.tar.xz
glibc-f160a450c930f214f218f0c975abf188d367716f.zip
[BZ #5204]
	* crypt/sha256c-test.c: Define TIMEOUT to 6 for ancient hardware.
	* crypt/sha512c-test.c: Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h b/nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h
index 3ff4cda3f4..5f419c2144 100644
--- a/nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h
+++ b/nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
 
@@ -35,6 +35,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;
+
 
 /* Type of timers in the kernel.  */
 typedef int kernel_timer_t;
@@ -57,4 +62,7 @@ struct timer
   void (*thrfunc) (sigval_t);
   sigval_t sival;
   pthread_attr_t attr;
+
+  /* Next element in list of active SIGEV_THREAD timers.  */
+  struct timer *next;
 };