[PATCH v2 3/5] include: Prefer GCC __atomic builtins if possible.

Alexandre Julliard julliard at winehq.org
Fri Jan 15 10:34:20 CST 2021


Zebediah Figura <z.figura12 at gmail.com> writes:

> Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
> ---
> v2: avoid 16-bit __atomic_compare_exchange_n()
>
>  include/winnt.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 53 insertions(+)

How are these better than the __sync ones in practice?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list