MINOR: queue: use atomic-ops to update the queue's index
authorWilly Tarreau <w@1wt.eu>
Fri, 18 Jun 2021 08:51:58 +0000 (10:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Jun 2021 16:57:18 +0000 (18:57 +0200)
commit1335eb9867b76c8e4570ad4242dc728287af3d56
treeeff5cca31b70e854d8f94b1d0a8eeb689682ce9a
parent3eecdb65c5a6b933399ebb0ac4ef86a7b97cf85d
MINOR: queue: use atomic-ops to update the queue's index

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