haproxy/include
Willy Tarreau cd10def825 MINOR: backend: replace the lbprm lock with an rwlock
It was previously a spinlock, and it happens that a number of LB algos
only lock it for lookups, without performing any modification. Let's
first turn it to an rwlock and w-lock it everywhere. This is strictly
identical.

It was carefully checked that every HA_SPIN_LOCK() was turned to
HA_RWLOCK_WRLOCK() and that HA_SPIN_UNLOCK() was turned to
HA_RWLOCK_WRUNLOCK() on this lock. _INIT and _DESTROY were updated too.
2020-10-17 18:51:41 +02:00
..
haproxy MINOR: backend: replace the lbprm lock with an rwlock 2020-10-17 18:51:41 +02:00
import CLEANUP: assorted typo fixes in the code and comments 2020-06-26 11:27:28 +02:00