This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v4] hppa: Use generic pthread conditional variable support (BZ #21016)


On 2017-04-10, at 7:10 PM, John David Anglin wrote:

>> Here is an updated patch to switch hppa to generic pthread conditional variable support.
> 
> The previous version had a problem, namely the failure of nptl/tst-typesizes.  This was caused by an incorrect
> size for the pthread_cond_t type.  The placement of "__attribute__ ((__aligned__(16)))" increased the size.
> 
> This is fixed revising the pthread_cond_t declaration. 

Another update was needed due to more changes in the pthread type definitions on trunk.

This version fixes a typo in sysdeps/nptl/bits/thread-shared-types.h.

I moved forward the hppa pthread initializers in sysdeps/unix/sysv/linux/hppa/pthread.h and
eliminated the old copies of the generic initializers.  I included "bits/types/struct_timespec.h"
to make sysdeps/unix/sysv/linux/hppa/pthread.h consistent with the generic version.

Old unused files are removed.

Tested with a couple of builds and checks.

Dave
--
John David Anglin	dave.anglin@bell.net


Attachment: pthread_cond-v4.d.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]