commit | 2447bce554decc560a4e2659f164f8aafa63e3c8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 22 14:20:14 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jul 22 14:22:38 2020 +0200 |
tree | 3bdc34cf44966e6a80a1fe4145099f8cc247e7d7 | |
parent | 783afbe93b15da8093424cd116c06171f696ae2f [diff] |
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.