aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/pthread/posix-timer.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-09 02:10:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-09 02:10:21 +0000
commit14b2ede5b27384fb037282b98cacbc516c9cd34c (patch)
tree7276aec28f416feb6bd45d38ac196d559c8f0633 /linuxthreads/sysdeps/pthread/posix-timer.h
parent776cc5d31c5e8031315b1a0e4fb73e3755b18eba (diff)
downloadglibc-14b2ede5b27384fb037282b98cacbc516c9cd34c.tar
glibc-14b2ede5b27384fb037282b98cacbc516c9cd34c.tar.gz
glibc-14b2ede5b27384fb037282b98cacbc516c9cd34c.tar.bz2
glibc-14b2ede5b27384fb037282b98cacbc516c9cd34c.zip
Update.
2002-04-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/timer_getoverr.c: Return real overrun. * sysdeps/pthread/posix-timer.h (struct timer_node): Add overrun_count. * sysdeps/pthread/timer_routines.c (thread_func): Schedule next timeout based on previous one and not on current time. Count overruns. Patch by Eric F. Sorton <eric@cctcorp.com>. * sysdeps/unix/sysv/linux/bits/local_lim.h: Add DELAYTIMER_MAX. (FLOATING_STACKS, ARCH_STACK_MAX_SIZE): Defined.
Diffstat (limited to 'linuxthreads/sysdeps/pthread/posix-timer.h')
-rw-r--r--linuxthreads/sysdeps/pthread/posix-timer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/pthread/posix-timer.h b/linuxthreads/sysdeps/pthread/posix-timer.h
index 7a2caf28a4..a7d1856740 100644
--- a/linuxthreads/sysdeps/pthread/posix-timer.h
+++ b/linuxthreads/sysdeps/pthread/posix-timer.h
@@ -1,5 +1,5 @@
/* Definitions for POSIX timer implementation on top of LinuxThreads.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Kaz Kylheku <kaz@ashi.footprints.net>.
@@ -65,6 +65,7 @@ struct timer_node
struct thread_node *thread;
pid_t creator_pid;
int refcount;
+ int overrun_count;
};