1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

nptl: Document the reason why __kind in pthread_mutex_t is part of the ABI

This commit is contained in:
Florian Weimer
2016-11-07 14:38:12 +01:00
parent 5ffc980589
commit c74940f2a7
16 changed files with 49 additions and 14 deletions

View File

@ -63,7 +63,7 @@ typedef union
int __owner;
unsigned int __nusers;
/* KIND must stay at this position in the structure to maintain
binary compatibility. */
binary compatibility with static initializers. */
int __kind;
int __spins;
__pthread_list_t __list;

View File

@ -87,7 +87,7 @@ typedef union
unsigned int __nusers;
#endif
/* KIND must stay at this position in the structure to maintain
binary compatibility. */
binary compatibility with static initializers. */
int __kind;
#if __WORDSIZE == 64
short __spins;