2003-05-02  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
	(pthread_condattr_t): Size is only an int, don't use long for
	alignment.
	(pthread_mutexattr_t): Likewise.
	(pthread_barrierattr_t): Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
This commit is contained in:
Ulrich Drepper 2003-05-03 05:05:57 +00:00
parent ba080fa679
commit 7da168bf21
5 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,14 @@
2003-05-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
(pthread_condattr_t): Size is only an int, don't use long for
alignment.
(pthread_mutexattr_t): Likewise.
(pthread_barrierattr_t): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
2003-05-01 Ulrich Drepper <drepper@redhat.com> 2003-05-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/tls.h: Define THREAD_ID. * sysdeps/i386/tls.h: Define THREAD_ID.

View File

@ -63,7 +63,7 @@ typedef union
typedef union typedef union
{ {
char __size[__SIZEOF_PTHREAD_MUTEXATTR_T]; char __size[__SIZEOF_PTHREAD_MUTEXATTR_T];
long int __align; int __align;
} pthread_mutexattr_t; } pthread_mutexattr_t;
@ -78,6 +78,7 @@ typedef union
unsigned long long int __total_seq; unsigned long long int __total_seq;
unsigned long long int __wakeup_seq; unsigned long long int __wakeup_seq;
unsigned long long int __woken_seq; unsigned long long int __woken_seq;
void *__mutex;
} __data; } __data;
char __size[__SIZEOF_PTHREAD_COND_T]; char __size[__SIZEOF_PTHREAD_COND_T];
long int __align; long int __align;
@ -86,7 +87,7 @@ typedef union
typedef union typedef union
{ {
char __size[__SIZEOF_PTHREAD_CONDATTR_T]; char __size[__SIZEOF_PTHREAD_CONDATTR_T];
long int __align; int __align;
} pthread_condattr_t; } pthread_condattr_t;

View File

@ -78,7 +78,7 @@ typedef union
typedef union typedef union
{ {
char __size[__SIZEOF_PTHREAD_MUTEXATTR_T]; char __size[__SIZEOF_PTHREAD_MUTEXATTR_T];
long int __align; int __align;
} pthread_mutexattr_t; } pthread_mutexattr_t;
@ -101,7 +101,7 @@ typedef union
typedef union typedef union
{ {
char __size[__SIZEOF_PTHREAD_CONDATTR_T]; char __size[__SIZEOF_PTHREAD_CONDATTR_T];
long int __align; int __align;
} pthread_condattr_t; } pthread_condattr_t;

View File

@ -77,7 +77,7 @@ typedef union
typedef union typedef union
{ {
char __size[__SIZEOF_PTHREAD_MUTEXATTR_T]; char __size[__SIZEOF_PTHREAD_MUTEXATTR_T];
long int __align; int __align;
} pthread_mutexattr_t; } pthread_mutexattr_t;
@ -100,7 +100,7 @@ typedef union
typedef union typedef union
{ {
char __size[__SIZEOF_PTHREAD_CONDATTR_T]; char __size[__SIZEOF_PTHREAD_CONDATTR_T];
long int __align; int __align;
} pthread_condattr_t; } pthread_condattr_t;

View File

@ -63,7 +63,7 @@ typedef union
typedef union typedef union
{ {
char __size[__SIZEOF_PTHREAD_MUTEXATTR_T]; char __size[__SIZEOF_PTHREAD_MUTEXATTR_T];
long int __align; int __align;
} pthread_mutexattr_t; } pthread_mutexattr_t;
@ -86,7 +86,7 @@ typedef union
typedef union typedef union
{ {
char __size[__SIZEOF_PTHREAD_CONDATTR_T]; char __size[__SIZEOF_PTHREAD_CONDATTR_T];
long int __align; int __align;
} pthread_condattr_t; } pthread_condattr_t;