]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: thread: implement HA_ATOMIC_XADD()
authorWilly Tarreau <w@1wt.eu>
Wed, 5 Sep 2018 14:11:03 +0000 (16:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 Sep 2018 14:30:17 +0000 (16:30 +0200)
commit9378df89f65b2fa8b6effb6dfbe7a4de70b53702
tree94477b67d32870541c7d99ae2f890d8bc2fe5df1
parentf16cb41d19ace1c09f24fac112142f3cc950d73a
MINOR: thread: implement HA_ATOMIC_XADD()

We've been missing it several times and now we'll need it to increment
a request counter. Let's do it once for all.

This patch will need to be backported to 1.8 with the associated fix.
include/common/hathreads.h