diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-10-04 20:51:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-10-04 20:51:25 +0000 |
commit | e4bb48539fa1012f4ec102d8a3b12e846a832ff5 (patch) | |
tree | cb3253bca5732755b5f68dd9fc47417d1c1edda6 /nptl/sysdeps/pthread/timer_create.c | |
parent | Update. (diff) | |
download | glibc-e4bb48539fa1012f4ec102d8a3b12e846a832ff5.tar.gz glibc-e4bb48539fa1012f4ec102d8a3b12e846a832ff5.tar.bz2 glibc-e4bb48539fa1012f4ec102d8a3b12e846a832ff5.zip |
Update.
2004-10-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Define _POSIX_CPUTIME
and _POSIX_THREAD_CPUTIME to zero.
* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Likewise.
* tst-barrier2.c: Fix testing for POSIX feature.
* tst-clock1.c: Likewise.
* tst-clock2.c: Likewise.
* tst-cond11.c: Likewise.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-flock2.c: Likewise.
* tst-mutex4.c: Likewise.
* tst-mutex9.c: Likewise.
* tst-rwlock12.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-signal1.c: Likewise.
* tst-spin2.c: Likewise.
* sysdeps/pthread/posix-timer.h: Likewise.
* sysdeps/pthread/timer_create.c: Likewise.
* sysdeps/pthread/timer_routines.c: Likewise.
Diffstat (limited to 'nptl/sysdeps/pthread/timer_create.c')
-rw-r--r-- | nptl/sysdeps/pthread/timer_create.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/sysdeps/pthread/timer_create.c b/nptl/sysdeps/pthread/timer_create.c index b74fafda62..57dd39e81b 100644 --- a/nptl/sysdeps/pthread/timer_create.c +++ b/nptl/sysdeps/pthread/timer_create.c @@ -38,10 +38,10 @@ timer_create (clock_id, evp, timerid) struct thread_node *thread = NULL; if (0 -#ifdef _POSIX_CPUTIME +#ifdef CLOCK_PROCESS_CPUTIME_ID || clock_id == CLOCK_PROCESS_CPUTIME_ID #endif -#ifdef _POSIX_THREAD_CPUTIME +#ifdef CLOCK_THREAD_CPUTIME_ID || clock_id == CLOCK_THREAD_CPUTIME_ID #endif ) @@ -100,12 +100,12 @@ timer_create (clock_id, evp, timerid) default: thread = &__timer_signal_thread_rclk; break; -#ifdef _POSIX_CPUTIME +#ifdef CLOCK_PROCESS_CPUTIME_ID case CLOCK_PROCESS_CPUTIME_ID: thread = &__timer_signal_thread_pclk; break; #endif -#ifdef _POSIX_THREAD_CPUTIME +#ifdef CLOCK_THREAD_CPUTIME_ID case CLOCK_THREAD_CPUTIME_ID: thread = &__timer_signal_thread_tclk; break; |