svn commit: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/bits
carmelo at uclibc.org
carmelo at uclibc.org
Thu Jul 31 12:05:05 UTC 2008
Author: carmelo
Date: 2008-07-31 05:05:05 -0700 (Thu, 31 Jul 2008)
New Revision: 22997
Log:
Update sh4 pthread_mutex_t definition
Modified:
branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
Changeset:
Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h 2008-07-31 12:03:40 UTC (rev 22996)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h 2008-07-31 12:05:05 UTC (rev 22997)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper at redhat.com>, 2002.
@@ -44,11 +44,17 @@
} pthread_attr_t;
+typedef struct __pthread_internal_slist
+{
+ struct __pthread_internal_slist *__next;
+} __pthread_slist_t;
+
+
/* Data structures for mutex handling. The structure of the attribute
type is not exposed on purpose. */
typedef union
{
- struct
+ struct __pthread_mutex_s
{
int __lock;
unsigned int __count;
@@ -57,7 +63,11 @@
binary compatibility. */
int __kind;
unsigned int __nusers;
- int __spins;
+ __extension__ union
+ {
+ int __spins;
+ __pthread_slist_t __list;
+ };
} __data;
char __size[__SIZEOF_PTHREAD_MUTEX_T];
long int __align;
More information about the uClibc-cvs
mailing list