This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] hppa: Use generic pthread conditional variable support
- From: John David Anglin <dave dot anglin at bell dot net>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, "Carlos O'Donell" <carlos at redhat dot com>, Mike Frysinger <vapier at gentoo dot org>, Helge Deller <deller at gmx dot de>
- Date: Sun, 12 Mar 2017 14:41:13 -0400
- Subject: Re: [PATCH] hppa: Use generic pthread conditional variable support
- Authentication-results: sourceware.org; auth=none
- References: <3278DDA9-61C9-44E2-9130-F625953652FA@bell.net> <37d468c7-221f-5aa6-f2e5-e70153b04f2b@redhat.com>
On 2017-03-12, at 1:59 PM, Florian Weimer wrote:
> On 03/12/2017 03:58 PM, John David Anglin wrote:
>> - int __lock __attribute__ ((__aligned__(16)));
>
> If this reduces the type alignment from 16 to 4, that's not acceptable because it changes application struct offsets when a condition variable is embedded into a struct.
I don't think so:
+ } __attribute__ ((__aligned__(16)));
Dave
--
John David Anglin dave.anglin@bell.net