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 /nptl/pthreadP.h | |
parent | 51d1ca00fd1ddc2ed77b615b7a23ecdf3e8a55a9 (diff) | |
download | glibc-4165d44d7026bb2572d4cdfe27f8fec348b4089a.tar.gz glibc-4165d44d7026bb2572d4cdfe27f8fec348b4089a.tar.xz glibc-4165d44d7026bb2572d4cdfe27f8fec348b4089a.zip |
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 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index b67e0ddb65..1c523a873d 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -234,6 +234,9 @@ extern int __pthread_multiple_threads attribute_hidden; extern int *__libc_multiple_threads_ptr attribute_hidden; #endif +/* Find a thread given its TID. */ +extern struct pthread *__find_thread_by_id (pid_t tid) attribute_hidden; + /* Namespace save aliases. */ extern int __pthread_getschedparam (pthread_t thread_id, int *policy, |