diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 01:17:07 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 01:24:43 +0100 |
commit | 196e62cbe4acdab22a95740b618c699863ed460c (patch) | |
tree | 5ef9cc8050f63da1e83683b703918f0c52931c9f /sysdeps/i386 | |
parent | e404be33feaa586231fe30e3bdf6d380a79c2679 (diff) | |
download | glibc-196e62cbe4acdab22a95740b618c699863ed460c.tar.gz glibc-196e62cbe4acdab22a95740b618c699863ed460c.tar.xz glibc-196e62cbe4acdab22a95740b618c699863ed460c.zip |
htl: Add type sizes in bits/pthreadtypes-arch.h and check them
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/htl/bits/pthreadtypes-arch.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/i386/htl/bits/pthreadtypes-arch.h b/sysdeps/i386/htl/bits/pthreadtypes-arch.h index 39d8ff3f8e..17568fb536 100644 --- a/sysdeps/i386/htl/bits/pthreadtypes-arch.h +++ b/sysdeps/i386/htl/bits/pthreadtypes-arch.h @@ -19,4 +19,18 @@ #ifndef _BITS_PTHREADTYPES_ARCH_H #define _BITS_PTHREADTYPES_ARCH_H 1 +#define __SIZEOF_PTHREAD_MUTEX_T 32 +#define __SIZEOF_PTHREAD_ATTR_T 32 +#define __SIZEOF_PTHREAD_RWLOCK_T 28 +#define __SIZEOF_PTHREAD_BARRIER_T 24 +#define __SIZEOF_PTHREAD_MUTEXATTR_T 16 +#define __SIZEOF_PTHREAD_COND_T 20 +#define __SIZEOF_PTHREAD_CONDATTR_T 8 +#define __SIZEOF_PTHREAD_RWLOCKATTR_T 4 +#define __SIZEOF_PTHREAD_BARRIERATTR_T 4 +#define __SIZEOF_PTHREAD_ONCE_T 8 + +#define __LOCK_ALIGNMENT +#define __ONCE_ALIGNMENT + #endif /* bits/pthreadtypes.h */ |