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

Stefan Liebler stli@linux.vnet.ibm.com
Tue Apr 11 10:15:00 GMT 2017


On 04/11/2017 10:45 AM, Andreas Schwab wrote:
> On Apr 11 2017, Stefan Liebler <stli@linux.vnet.ibm.com> wrote:
>
>> But perhaps #if ATOMIC_EXCHANGE_USES_CAS == 1 will be introduced by a
>> future patch.
>
> Why would anyone want to do that?
>
> Andreas.
>
By accident!?
It happened in the case of __HAVE_64B_ATOMICS.

Bye
Stefan



More information about the Libc-alpha mailing list