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

Andreas Schwab schwab@suse.de
Mon Oct 16 16:05:00 GMT 2017


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.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list