[PATCH] Define __PTHREAD_MUTEX_HAVE_PREV only if undefined [BZ #22298]

H.J. Lu hjl.tools@gmail.com
Mon Oct 16 16:07:00 GMT 2017


On Mon, Oct 16, 2017 at 9:05 AM, Andreas Schwab <schwab@suse.de> wrote:
> On Okt 16 2017, "H.J. Lu" <hjl.tools@gmail.com> wrote:
>
>> Here __x86_64__ == __PTHREAD_MUTEX_HAVE_PREV,  which ties
>> __PTHREAD_MUTEX_HAVE_PREV with __nusers and __PTHREAD_SPINS.
>
> That's what I would call related by chance.  The position of __nusers
> differs only because __kind must not be moved, and that difference
> existed already before the introduction of __prev and __next.
>

By chance or not, they can't be changed on x86.


-- 
H.J.



More information about the Libc-alpha mailing list