about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/pthread/posix-timer.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-08 20:38:08 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-08 20:38:08 +0000
commit559382738799bf3bef8d81c2091bd713ec8c1c9e (patch)
tree7657c43ac5a62e8d4c00bfee75ab9b4782758d05 /linuxthreads/sysdeps/pthread/posix-timer.h
parent2715f28ad4494dcf5da41398a6dbf2e43042620d (diff)
downloadglibc-559382738799bf3bef8d81c2091bd713ec8c1c9e.tar.gz
glibc-559382738799bf3bef8d81c2091bd713ec8c1c9e.tar.xz
glibc-559382738799bf3bef8d81c2091bd713ec8c1c9e.zip
Update.
	* sysdeps/pthread/posix-timer.h (struct timer_node): Add creator_pid.
	* sysdeps/pthread/timer_create.c: Fill in creator_pid.
	* sysdeps/pthread/timer_routines.c (thread_expire_timer): Send signal
	with sigqueueinfo is this system call is available.

	* sysdeps/pthread/timer_create.c (timer_create): Allow
	CLOCK_CPUTIME if _POSIX_CPUTIME is defined.
Diffstat (limited to 'linuxthreads/sysdeps/pthread/posix-timer.h')
-rw-r--r--linuxthreads/sysdeps/pthread/posix-timer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/pthread/posix-timer.h b/linuxthreads/sysdeps/pthread/posix-timer.h
index fcb61aa733..b10ae736d6 100644
--- a/linuxthreads/sysdeps/pthread/posix-timer.h
+++ b/linuxthreads/sysdeps/pthread/posix-timer.h
@@ -50,6 +50,7 @@ struct thread_node
 /* Internal representation of a timer.  */
 struct timer_node
 {
+  pid_t creator_pid;
   struct list_links links;
   struct sigevent event;
   clockid_t clock;