commit | 29ffe267337b2a1818a714decd9da800c12823dc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jun 15 14:31:38 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 01 19:15:14 2022 +0200 |
tree | beb63285652bd4e3aa740573e06a06b4417e08a4 | |
parent | 5b8e0547320d3255d0d7366c57ec777e9bc2d1a8 [diff] |
MAJOR: task: use t->tid instead of ffsl(t->thread_mask) to take the thread ID At several places we need to figure the ID of the first thread allowed to run a task. Till now this was performed using my_ffsl(t->thread_mask) but since we now have the thread ID stored into the task, let's use it instead. This is tagged major because it starts to assume that tid<0 is strictly equivalent to atleast2(thread_mask), and that as such, among the allowed threads are the current one.