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:
33
ChangeLog
33
ChangeLog
@ -1,3 +1,36 @@
|
|||||||
|
2016-11-07 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Document ABI exposure of the __kind offset.
|
||||||
|
* sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Mention reason for the __kind offset exposure in the ABI.
|
||||||
|
* sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/microblaze/nptl/bits/pthreadtypes.h
|
||||||
|
(struct __pthread_mutex_s): Likewise.
|
||||||
|
* sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
|
||||||
|
(struct __pthread_mutex_s): Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
|
||||||
|
(struct __pthread_mutex_s): Likewise.
|
||||||
|
* sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||||
|
Likewise.
|
||||||
|
|
||||||
2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
|
2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
|
||||||
|
|
||||||
* test-skeleton.c: Document do_test usage.
|
* test-skeleton.c: Document do_test usage.
|
||||||
|
@ -65,6 +65,8 @@ typedef union
|
|||||||
unsigned int __count;
|
unsigned int __count;
|
||||||
int __owner;
|
int __owner;
|
||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
|
/* KIND must stay at this position in the structure to maintain
|
||||||
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
int __spins;
|
int __spins;
|
||||||
__pthread_list_t __list;
|
__pthread_list_t __list;
|
||||||
|
@ -64,7 +64,7 @@ typedef union
|
|||||||
unsigned int __count;
|
unsigned int __count;
|
||||||
int __owner;
|
int __owner;
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
__extension__ union
|
__extension__ union
|
||||||
|
@ -71,7 +71,7 @@ typedef union
|
|||||||
unsigned int __count;
|
unsigned int __count;
|
||||||
int __owner;
|
int __owner;
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
/* The old 4-word 16-byte aligned lock. This is initalized
|
/* The old 4-word 16-byte aligned lock. This is initalized
|
||||||
to all ones by the Linuxthreads PTHREAD_MUTEX_INITIALIZER.
|
to all ones by the Linuxthreads PTHREAD_MUTEX_INITIALIZER.
|
||||||
|
@ -64,7 +64,7 @@ typedef union
|
|||||||
int __owner;
|
int __owner;
|
||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
int __spins;
|
int __spins;
|
||||||
__pthread_list_t __list;
|
__pthread_list_t __list;
|
||||||
|
@ -64,7 +64,7 @@ typedef union
|
|||||||
unsigned int __count;
|
unsigned int __count;
|
||||||
int __owner;
|
int __owner;
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
__extension__ union
|
__extension__ union
|
||||||
|
@ -63,7 +63,7 @@ typedef union
|
|||||||
unsigned int __count;
|
unsigned int __count;
|
||||||
int __owner;
|
int __owner;
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
__extension__ union
|
__extension__ union
|
||||||
|
@ -87,7 +87,7 @@ typedef union
|
|||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
#endif
|
#endif
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
#if _MIPS_SIM == _ABI64
|
#if _MIPS_SIM == _ABI64
|
||||||
int __spins;
|
int __spins;
|
||||||
|
@ -64,7 +64,7 @@ typedef union
|
|||||||
unsigned int __count;
|
unsigned int __count;
|
||||||
int __owner;
|
int __owner;
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
__extension__ union
|
__extension__ union
|
||||||
|
@ -86,7 +86,7 @@ typedef union
|
|||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
#endif
|
#endif
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
#if __WORDSIZE == 64
|
#if __WORDSIZE == 64
|
||||||
# ifdef ENABLE_LOCK_ELISION
|
# ifdef ENABLE_LOCK_ELISION
|
||||||
|
@ -64,7 +64,7 @@ typedef union
|
|||||||
unsigned int __count;
|
unsigned int __count;
|
||||||
int __owner;
|
int __owner;
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
__extension__ union
|
__extension__ union
|
||||||
|
@ -87,7 +87,7 @@ typedef union
|
|||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
#endif
|
#endif
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
#if __WORDSIZE == 64
|
#if __WORDSIZE == 64
|
||||||
int __spins;
|
int __spins;
|
||||||
|
@ -87,7 +87,7 @@ typedef union
|
|||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
#endif
|
#endif
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
#if __WORDSIZE == 64
|
#if __WORDSIZE == 64
|
||||||
int __spins;
|
int __spins;
|
||||||
|
@ -63,7 +63,7 @@ typedef union
|
|||||||
int __owner;
|
int __owner;
|
||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
int __spins;
|
int __spins;
|
||||||
__pthread_list_t __list;
|
__pthread_list_t __list;
|
||||||
|
@ -87,7 +87,7 @@ typedef union
|
|||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
#endif
|
#endif
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
#if __WORDSIZE == 64
|
#if __WORDSIZE == 64
|
||||||
short __spins;
|
short __spins;
|
||||||
|
@ -98,7 +98,7 @@ typedef union
|
|||||||
unsigned int __nusers;
|
unsigned int __nusers;
|
||||||
#endif
|
#endif
|
||||||
/* KIND must stay at this position in the structure to maintain
|
/* KIND must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility with static initializers. */
|
||||||
int __kind;
|
int __kind;
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
short __spins;
|
short __spins;
|
||||||
|
Reference in New Issue
Block a user