[PATCH 1/2] Optimize generic spinlock code and use C11 like atomic macros.

Andreas Schwab schwab@suse.de
Mon Apr 10 08:17:00 GMT 2017


On Apr 07 2017, Stefan Liebler <stli@linux.vnet.ibm.com> wrote:

> /* ATOMIC_EXCHANGE_USES_CAS is equal to 1 if atomic_exchange operations

Why 1 exactly, and not just non-zero?

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