diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-02-13 07:30:06 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-02-13 07:30:06 +0000 |
commit | bb786851edfb584a36b3f2674eb024af6f33f319 (patch) | |
tree | 4243fee7b513ae79b63f94593d5e9e0b2bbe86c5 /nptl/sysdeps/unix/sysv/linux/x86_64 | |
parent | a7343889536746d3c1902f85c2075ee19ee58c7a (diff) | |
download | glibc-bb786851edfb584a36b3f2674eb024af6f33f319.tar glibc-bb786851edfb584a36b3f2674eb024af6f33f319.tar.gz glibc-bb786851edfb584a36b3f2674eb024af6f33f319.tar.bz2 glibc-bb786851edfb584a36b3f2674eb024af6f33f319.zip |
Updated to fedora-glibc-20060213T0650
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h index 81942bc86c..693387a266 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h @@ -57,6 +57,20 @@ typedef union } pthread_attr_t; +#if __WORDSIZE == 64 +typedef struct __pthread_internal_list +{ + struct __pthread_internal_list *__prev; + struct __pthread_internal_list *__next; +} __pthread_list_t; +#else +typedef struct __pthread_internal_slist +{ + struct __pthread_internal_slist *__next; +} __pthread_slist_t; +#endif + + /* Data structures for mutex handling. The structure of the attribute type is not exposed on purpose. */ typedef union @@ -74,15 +88,14 @@ typedef union int __kind; #if __WORDSIZE == 64 int __spins; - struct __pthread_mutex_s *__next; - struct __pthread_mutex_s *__prev; + __pthread_list_t __list; # define __PTHREAD_MUTEX_HAVE_PREV 1 #else unsigned int __nusers; __extension__ union { int __spins; - struct __pthread_mutex_s *__next; + __pthread_slist_t __list; }; #endif } __data; |