]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: fd: make updt_fd_polling() use atomics
authorWilly Tarreau <w@1wt.eu>
Wed, 17 Jan 2018 21:57:54 +0000 (22:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 5 Feb 2018 15:02:22 +0000 (16:02 +0100)
commit4d841863377e0a1b00238c4823fe1ae390ad33ab
tree43077e3303da2b23ae40f3adb12b45b3140b819a
parent1b76a6d1a66374266729b4c15b1f19b7063fd7b9
MEDIUM: fd: make updt_fd_polling() use atomics

It only needed a test-and-set and an atomic increment so we can take it
out of the fd lock now.
include/proto/fd.h