diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-05-01 07:12:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-05-01 07:12:52 +0000 |
commit | 69278ade4a833e7e0b9e53bbba02f7d12edd03dd (patch) | |
tree | d190b2267e1487729fa84a0f3b69802546a97e6a | |
parent | 27b301e43177f2a006924dc8778284e247898b42 (diff) | |
download | glibc-69278ade4a833e7e0b9e53bbba02f7d12edd03dd.tar.gz glibc-69278ade4a833e7e0b9e53bbba02f7d12edd03dd.tar.xz glibc-69278ade4a833e7e0b9e53bbba02f7d12edd03dd.zip |
(__SIZEOF_PTHREAD_COND_T): Define to 48. (pthread_rwlock_t): Add 16 bytes of pad instead of 8 before __flags.
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h | 5 |
1 files changed, 3 insertions, 2 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 3b717a2ead..b1d9cb5248 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h @@ -23,7 +23,7 @@ #define __SIZEOF_PTHREAD_ATTR_T 56 #define __SIZEOF_PTHREAD_MUTEX_T 40 #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 -#define __SIZEOF_PTHREAD_COND_T 64 +#define __SIZEOF_PTHREAD_COND_T 48 #define __SIZEOF_PTHREAD_CONDATTR_T 4 #define __SIZEOF_PTHREAD_RWLOCK_T 56 #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 @@ -112,7 +112,8 @@ typedef union unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; pthread_t __writer; - unsigned long int __unused; + unsigned long int __pad1; + unsigned long int __pad2; /* FLAGS must stay at this position in the structure to maintain binary compatibility. */ unsigned int __flags; |