mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-06 01:21:08 +00:00
(pthread_rwlock_t): Make sure __flags are located at offset 48 from the
start of the structure.
This commit is contained in:
parent
15aff3c956
commit
e582e2ddcf
@ -1,5 +1,5 @@
|
|||||||
/* Machine-specific pthread type layouts. Alpha version.
|
/* Machine-specific pthread type layouts. Alpha version.
|
||||||
Copyright (C) 2003, 2004 Free Software Foundation, Inc.
|
Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -117,8 +117,9 @@ typedef union
|
|||||||
unsigned int __nr_readers_queued;
|
unsigned int __nr_readers_queued;
|
||||||
unsigned int __nr_writers_queued;
|
unsigned int __nr_writers_queued;
|
||||||
int __writer;
|
int __writer;
|
||||||
|
int __pad1;
|
||||||
unsigned int __reserved[6];
|
unsigned long int __pad2;
|
||||||
|
unsigned long int __pad3;
|
||||||
/* FLAGS must stay at this position in the structure to maintain
|
/* FLAGS must stay at this position in the structure to maintain
|
||||||
binary compatibility. */
|
binary compatibility. */
|
||||||
unsigned int __flags;
|
unsigned int __flags;
|
||||||
|
Loading…
Reference in New Issue
Block a user