]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task: replace global_tasks_mask with a check for tree's emptiness
authorWilly Tarreau <w@1wt.eu>
Thu, 16 Jun 2022 13:59:36 +0000 (15:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000 (19:15 +0200)
commitc958c70ec8bca6f816cf93f58e9089b01cc94d33
treeaf2a871fcf37909cdde417bf3c3021e6cfc76e82
parentda195e8aab0c0c81c70f9620948eff529159dda2
MINOR: task: replace global_tasks_mask with a check for tree's emptiness

This bit field used to be a per-thread cache of the result of the last
lookup of the presence of a task for each thread in the shared cache.
Since we now know that each thread has its own shared cache, a test of
emptiness is now sufficient to decide whether or not the shared tree
has a task for the current thread. Let's just remove this mask.
include/haproxy/task.h
src/debug.c
src/task.c