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]

Re: [PATCH] hppa: Use generic pthread conditional variable support


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




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