mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-28 05:21:13 +00:00
Add __next and __prev field to pthread_mutex_t.
This commit is contained in:
parent
8ec1c6e238
commit
ee8aaccf26
@ -45,7 +45,7 @@ typedef union
|
||||
|
||||
/* Data structures for mutex handling. The structure of the attribute
|
||||
type is deliberately not exposed. */
|
||||
typedef union
|
||||
typedef union __pthread_mutex_u
|
||||
{
|
||||
struct
|
||||
{
|
||||
@ -57,6 +57,9 @@ typedef union
|
||||
binary compatibility. */
|
||||
int __kind;
|
||||
int __spins;
|
||||
union __pthread_mutex_u *__next;
|
||||
union __pthread_mutex_u *__prev;
|
||||
#define __PTHREAD_MUTEX_HAVE_PREV 1
|
||||
} __data;
|
||||
char __size[__SIZEOF_PTHREAD_MUTEX_T];
|
||||
long int __align;
|
||||
|
Loading…
Reference in New Issue
Block a user