aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-27 15:08:35 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-27 15:08:35 +0000
commitee8aaccf260a7e8ce75e237b5228ff85c44906df (patch)
tree2b82886931cb732162770935a6383436a200dfda
parent8ec1c6e238acc66e11bf9c110a1e2389e28990bc (diff)
downloadglibc-ee8aaccf260a7e8ce75e237b5228ff85c44906df.tar.xz
glibc-ee8aaccf260a7e8ce75e237b5228ff85c44906df.zip
Add __next and __prev field to pthread_mutex_t.
-rw-r--r--sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h b/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
index 86b47037e4..50049376b0 100644
--- a/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
+++ b/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
@@ -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;