aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 01:17:07 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 01:24:43 +0100
commit196e62cbe4acdab22a95740b618c699863ed460c (patch)
tree5ef9cc8050f63da1e83683b703918f0c52931c9f /sysdeps/i386/htl
parente404be33feaa586231fe30e3bdf6d380a79c2679 (diff)
downloadglibc-196e62cbe4acdab22a95740b618c699863ed460c.zip
glibc-196e62cbe4acdab22a95740b618c699863ed460c.tar.gz
glibc-196e62cbe4acdab22a95740b618c699863ed460c.tar.bz2
htl: Add type sizes in bits/pthreadtypes-arch.h and check them
Diffstat (limited to 'sysdeps/i386/htl')
-rw-r--r--sysdeps/i386/htl/bits/pthreadtypes-arch.h14
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 39d8ff3..17568fb 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 */