commit | f2452b3c70762ee0917a95dc1634770f5611e2e3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 22 14:33:53 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jul 22 14:42:52 2020 +0200 |
tree | f0bdb36a20fdc46a495b120a6d8766f35b671bd2 | |
parent | e5d79bccc0641ba26bb78ae029cafb4e17e6b13f [diff] |
MINOR: tasks/debug: add a BUG_ON() check to detect requeued task on free __task_free() cannot be called with a task still in the queue. This test adds a check which confirms there is no concurrency issue on such a case where a thread could requeue nor wakeup a task being freed.