MINOR: queue: use atomic-ops to update the queue's index (v2)
authorWilly Tarreau <w@1wt.eu>
Fri, 18 Jun 2021 08:51:58 +0000 (10:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jun 2021 08:52:31 +0000 (10:52 +0200)
commit98c8910be748fa3a3f3ff6bff77b89177f5fd350
tree53a269a40f22508a95b8cc1c028d181e62645af7
parent12529c0ed31cbdf1c83f36db3a52d5ff84cab3b7
MINOR: queue: use atomic-ops to update the queue's index (v2)

Doing so allows to retrieve and update the pendconn's queue index outside
of the queue's lock and to save one more percent CPU on a highly-contented
backend.
src/queue.c