diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-12-10 00:41:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-12-10 00:41:30 +0000 |
commit | bf7c04cd5f4b3a7d3e3155b0035396e7f1037a13 (patch) | |
tree | fca029f46efa5faba09dbbb5035ba8efa53878f7 /linuxthreads/sysdeps/pthread/posix-timer.h | |
parent | 708bfb9a90fca1ecf14668e7455d747d7e8b152c (diff) | |
download | glibc-bf7c04cd5f4b3a7d3e3155b0035396e7f1037a13.tar glibc-bf7c04cd5f4b3a7d3e3155b0035396e7f1037a13.tar.gz glibc-bf7c04cd5f4b3a7d3e3155b0035396e7f1037a13.tar.bz2 glibc-bf7c04cd5f4b3a7d3e3155b0035396e7f1037a13.zip |
Update.
2004-12-01 Jakub Jelinek <jakub@redhat.com>
* posix/tst-regex.c: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
conditionals instead of defined _POSIX_CPUTIME.
(main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME
option is available.
* posix/tst-regex.c2: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
conditionals instead of defined _POSIX_CPUTIME.
(do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME
option is available.
* sysdeps/posix/sysconf.c (__sysconf): If _POSIX_CPUTIME resp.
_POSIX_THREAD_CPUTIME is defined to 0, return -1 for the corresponding
_SC_ argument.
Diffstat (limited to 'linuxthreads/sysdeps/pthread/posix-timer.h')
-rw-r--r-- | linuxthreads/sysdeps/pthread/posix-timer.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/linuxthreads/sysdeps/pthread/posix-timer.h b/linuxthreads/sysdeps/pthread/posix-timer.h index 6710291b9b..1b0a2b65e4 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, 2002 Free Software Foundation, Inc. + Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Kaz Kylheku <kaz@ashi.footprints.net>. @@ -85,12 +85,6 @@ extern int __timer_init_failed; /* A distinct thread is used for each clock type. */ extern struct thread_node __timer_signal_thread_rclk; -#ifdef _POSIX_CPUTIME -extern struct thread_node __timer_signal_thread_pclk; -#endif -#ifdef _POSIX_THREAD_CPUTIME -extern struct thread_node __timer_signal_thread_tclk; -#endif /* Return pointer to timer structure corresponding to ID. */ |