[PATCH v4] hppa: Use generic pthread conditional variable support (BZ #21016)
John David Anglin
dave.anglin@bell.net
Sun Jun 4 16:51:00 GMT 2017
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pthread_cond-v4.d.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170604/ee152b71/attachment.txt>
More information about the Libc-alpha
mailing list