]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tasks/debug: make the thread affinity BUG_ON check a bit stricter
authorWilly Tarreau <w@1wt.eu>
Wed, 22 Jul 2020 12:20:14 +0000 (14:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 Jul 2020 12:22:38 +0000 (14:22 +0200)
commit2447bce554decc560a4e2659f164f8aafa63e3c8
tree3bdc34cf44966e6a80a1fe4145099f8cc247e7d7
parent783afbe93b15da8093424cd116c06171f696ae2f
MINOR: tasks/debug: make the thread affinity BUG_ON check a bit stricter

The BUG_ON() test in task_queue() only tests for the case where
we're queuing a task that doesn't run on the current thread. Let's
refine it a bit further to catch all cases where the task does not
run *exactly* on the current thread alone.
include/haproxy/task.h