summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/alpha
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2008-12-10 04:39:44 +0000
committerKhem Raj <kraj@mvista.com>2008-12-10 04:39:44 +0000
commita29f11cc811aecaa2474af413064afca961b081e (patch)
tree6862614ba98532a1a94c167920df67ce8afa1d08 /libpthread/nptl/sysdeps/unix/sysv/linux/alpha
parent4832b60988d116c0d59d46b63439da59058f2a98 (diff)
downloaduClibc-alpine-a29f11cc811aecaa2474af413064afca961b081e.tar.bz2
uClibc-alpine-a29f11cc811aecaa2474af413064afca961b081e.tar.xz
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update pthread_mutex_t definition and initializations.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/alpha')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h b/libpthread/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
index 86b47037e..0f3bf838e 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
@@ -43,11 +43,18 @@ typedef union
} pthread_attr_t;
+typedef struct __pthread_internal_list
+{
+ struct __pthread_internal_list *__prev;
+ struct __pthread_internal_list *__next;
+} __pthread_list_t;
+
+
/* Data structures for mutex handling. The structure of the attribute
type is deliberately not exposed. */
typedef union
{
- struct
+ struct __pthread_mutex_s
{
int __lock;
unsigned int __count;
@@ -57,6 +64,8 @@ typedef union
binary compatibility. */
int __kind;
int __spins;
+ __pthread_list_t __list;
+#define __PTHREAD_MUTEX_HAVE_PREV 1
} __data;
char __size[__SIZEOF_PTHREAD_MUTEX_T];
long int __align;