aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/nptl/bits
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-11-07 14:38:12 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-11-07 20:24:32 +0100
commitc74940f2a76ae112279871cdc0382c127a43f9de (patch)
tree671028463d64425019704b1abb8bc1182452c9ab /sysdeps/aarch64/nptl/bits
parent5ffc980589687eed1db3619af6aecf2d31773129 (diff)
downloadglibc-c74940f2a76ae112279871cdc0382c127a43f9de.zip
glibc-c74940f2a76ae112279871cdc0382c127a43f9de.tar.gz
glibc-c74940f2a76ae112279871cdc0382c127a43f9de.tar.bz2
nptl: Document the reason why __kind in pthread_mutex_t is part of the ABI
Diffstat (limited to 'sysdeps/aarch64/nptl/bits')
-rw-r--r--sysdeps/aarch64/nptl/bits/pthreadtypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/aarch64/nptl/bits/pthreadtypes.h b/sysdeps/aarch64/nptl/bits/pthreadtypes.h
index 13984a7..c376e64 100644
--- a/sysdeps/aarch64/nptl/bits/pthreadtypes.h
+++ b/sysdeps/aarch64/nptl/bits/pthreadtypes.h
@@ -65,6 +65,8 @@ typedef union
unsigned int __count;
int __owner;
unsigned int __nusers;
+ /* KIND must stay at this position in the structure to maintain
+ binary compatibility with static initializers. */
int __kind;
int __spins;
__pthread_list_t __list;