diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-06-30 09:16:35 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-06-30 09:16:35 +0000 |
commit | ac7609f7998add41673e8428cf0bc824a40a1361 (patch) | |
tree | 016a7dba118f66dc209b26f930cf9dc4354d7d3b /nptl | |
parent | 2774ea772499f5779e846646824784a44377c69a (diff) | |
download | glibc-ac7609f7998add41673e8428cf0bc824a40a1361.zip glibc-ac7609f7998add41673e8428cf0bc824a40a1361.tar.gz glibc-ac7609f7998add41673e8428cf0bc824a40a1361.tar.bz2 |
Updated to fedora-glibc-20060630T0858cvs/fedora-glibc-2_4_90-12
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 6 | ||||
-rw-r--r-- | nptl/sysdeps/pthread/pthread.h | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 04a4cfa..985c92d 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,6 +1,10 @@ +2006-06-04 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/pthread/pthread.h: Add pthread_equal inline version. + 2006-05-15 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/fork.h: Makr __fork_handlers as hidden. + * sysdeps/unix/sysv/linux/fork.h: Mark __fork_handlers as hidden. 2006-05-11 Ulrich Drepper <drepper@redhat.com> diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h index 5f34302..f60ecde 100644 --- a/nptl/sysdeps/pthread/pthread.h +++ b/nptl/sysdeps/pthread/pthread.h @@ -1100,6 +1100,16 @@ extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __THROW; + +#ifdef __USE_EXTERN_INLINES +/* Optimizations. */ +extern __inline int +__NTH (pthread_equal (pthread_t __thread1, pthread_t __thread2)) +{ + return __thread1 == __thread2; +} +#endif + __END_DECLS #endif /* pthread.h */ |