MINOR: proxy; replace the spinlock with an rwlock
authorWilly Tarreau <w@1wt.eu>
Tue, 20 Oct 2020 15:24:27 +0000 (17:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Oct 2020 15:32:28 +0000 (17:32 +0200)
commitac66d6bafbda79946e25aed6657f4ceab3e39536
treececfdadb7445ddd3bafdaa736208fdff183fc8db
parentde785f04e11218cee7ff0d3e30fbcfc6da91ce87
MINOR: proxy; replace the spinlock with an rwlock

This is an anticipation of finer grained locking for the queues. For now
all lock places take a write lock so that there is no difference at all
with previous code.
include/haproxy/proxy-t.h
src/haproxy.c
src/listener.c
src/proxy.c
src/queue.c
src/server.c