diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-06-25 00:00:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-06-25 00:00:50 +0000 |
commit | 4165d44d7026bb2572d4cdfe27f8fec348b4089a (patch) | |
tree | 911aa068d7d9c4205ad6a4965ce156c937fed219 /include/time.h | |
parent | 51d1ca00fd1ddc2ed77b615b7a23ecdf3e8a55a9 (diff) | |
download | glibc-4165d44d7026bb2572d4cdfe27f8fec348b4089a.zip glibc-4165d44d7026bb2572d4cdfe27f8fec348b4089a.tar.gz glibc-4165d44d7026bb2572d4cdfe27f8fec348b4089a.tar.bz2 |
Update.
* include/time.h: Define CLOCK_IDFIELD_SIZE.
* sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs.
* sysdeps/unix/clock_gettime.c: Likewise.
* sysdeps/unix/clock_settime.c: Likewise.
* sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new
clock id for thread CPU clocks.
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index daf4c27..b501bfd 100644 --- a/include/time.h +++ b/include/time.h @@ -82,5 +82,10 @@ extern int __getdate_r (__const char *__string, struct tm *__resbufp); /* Determine CLK_TCK value. */ extern int __getclktck (void); + + +/* Use in the clock_* functions. Size of the field representing the + actual clock ID. */ +#define CLOCK_IDFIELD_SIZE 3 #endif #endif |