]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: threads: Introduce double-width CAS on x86_64 and arm.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 21 Dec 2017 16:13:05 +0000 (17:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 5 Feb 2018 13:24:50 +0000 (14:24 +0100)
commitf61f0cb95ffbfe403219226d427cd292ca79965a
tree3ad44e34633ac76fac919bb0910b49f5b6916d7c
parent928fbfa8b71b7486ea1a53d59bcd5c42887d5f7b
MINOR: threads: Introduce double-width CAS on x86_64 and arm.

Introduce double-width compare-and-swap on arches that support it, right now
x86_64, arm, and aarch64.
Also introduce functions to do memory barriers.
include/common/hathreads.h