From 4165d44d7026bb2572d4cdfe27f8fec348b4089a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 25 Jun 2003 00:00:50 +0000 Subject: 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. --- include/time.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/time.h b/include/time.h index daf4c27495..b501bfd3de 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 -- cgit v1.2.3