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: New pthread_cond_t and hppa.


On Fri, 2017-03-03 at 19:37 -0500, Carlos O'Donell wrote:
> Torvald,
> 
> On hppa we had no free word to use for the newer expanded
> pthread_cond_t. Since the first four words of pthread_cond_t
> are going to be "1, 1, 1, 1" in legacy applications it looks
> like I need to reserve at least one of these lowest bit values
> for the initializer I use to decide if the old-style structure
> has been converted or not.
> 
> What's your take on shaving 1-bit off of __wseq32 or __g1_start32?

That's possible, but __g1_orig_size might be even easier because there
are already accessors to it in pthread_cond_common.c.


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