]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: task: replace the global rq_lock with a per-rq one
authorWilly Tarreau <w@1wt.eu>
Thu, 16 Jun 2022 14:58:17 +0000 (16:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000 (19:15 +0200)
commitb17dd6cc194163fe60ce7387d407d976d8588209
tree9a0e0ff9fba92398e80c7cd7d6bd692f3509c631
parent6f78038d72cfb620486b50d32274c599395f7755
MEDIUM: task: replace the global rq_lock with a per-rq one

There's no point having a global rq_lock now that we have one shared RQ
per thread, let's have one lock per runqueue instead.
include/haproxy/task.h
include/haproxy/tinfo-t.h
src/task.c