commit | c958c70ec8bca6f816cf93f58e9089b01cc94d33 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jun 16 15:59:36 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 01 19:15:14 2022 +0200 |
tree | af2a871fcf37909cdde417bf3c3021e6cfc76e82 | |
parent | da195e8aab0c0c81c70f9620948eff529159dda2 [diff] |
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.