From 69278ade4a833e7e0b9e53bbba02f7d12edd03dd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 1 May 2003 07:12:52 +0000 Subject: (__SIZEOF_PTHREAD_COND_T): Define to 48. (pthread_rwlock_t): Add 16 bytes of pad instead of 8 before __flags. --- nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nptl/sysdeps/unix') 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; -- cgit 1.4.1