]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/arm/nptl/bits/pthreadtypes-arch.h
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / sysdeps / arm / nptl / bits / pthreadtypes-arch.h
index 8333acb4ec16eb73ea6010c061e3d7cb20854c63..70419c99f64ea2584a094864d4bf93b7ef2b0033 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2017 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library.  If not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #ifndef _BITS_PTHREADTYPES_ARCH_H
 #define _BITS_PTHREADTYPES_ARCH_H      1
@@ -34,6 +34,8 @@
 #define __PTHREAD_COMPAT_PADDING_MID
 #define __PTHREAD_COMPAT_PADDING_END
 #define __PTHREAD_MUTEX_LOCK_ELISION    0
+#define __PTHREAD_MUTEX_NUSERS_AFTER_KIND  1
+#define __PTHREAD_MUTEX_USE_UNION          1
 
 #define __LOCK_ALIGNMENT
 #define __ONCE_ALIGNMENT
@@ -62,7 +64,7 @@ struct __pthread_rwlock_arch_t
   unsigned char __pad2;
 #endif
   int __cur_writer;
-} __data;
+};
 
 #define __PTHREAD_RWLOCK_ELISION_EXTRA 0