mirror of git://sourceware.org/git/glibc.git
hppa: Update struct __pthread_rwlock_arch_t comment.
Signed-off-by: John David Anglin <dave.anglin@bell.net>
This commit is contained in:
parent
e9327e8584
commit
c4468cd399
|
|
@ -27,11 +27,11 @@ struct __pthread_rwlock_arch_t
|
||||||
next four words are all set to 1 by the Linuxthreads
|
next four words are all set to 1 by the Linuxthreads
|
||||||
PTHREAD_RWLOCK_INITIALIZER. We ignore them in NPTL.
|
PTHREAD_RWLOCK_INITIALIZER. We ignore them in NPTL.
|
||||||
|
|
||||||
The 16-byte aligned lock stucture causes various pthread
|
The 16-byte aligned lock stucture is not needed for NPTL.
|
||||||
structures to be over aligned. This causes some builds
|
It causes some package builds to fail (e.g., protobuf) and
|
||||||
to fail which assume a maximum alignment of 8 bytes.
|
issues with dynamic memory allocation in C++ versions prior
|
||||||
Linuxthreads has been removed for 12 years, so drop
|
to C++17. Removing it allows for more efficient allocators
|
||||||
alignment of lock structure. */
|
and better compatibility with other architectures. */
|
||||||
int __compat_padding[4];
|
int __compat_padding[4];
|
||||||
unsigned int __readers;
|
unsigned int __readers;
|
||||||
unsigned int __writers;
|
unsigned int __writers;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue