]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task: detect self-wakeups on tl==sched->current instead of TASK_RUNNING
authorWilly Tarreau <w@1wt.eu>
Fri, 31 Jan 2020 15:37:34 +0000 (16:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 31 Jan 2020 16:45:10 +0000 (17:45 +0100)
commitb30a153cd1238b156d558adf42468af362c10b73
tree0715a3944996c7b6e480f53f06c2af478b26b785
parentd23d413e3878d164a89175795df7d9134f048211
MINOR: task: detect self-wakeups on tl==sched->current instead of TASK_RUNNING

This is exactly what we want to detect (a task/tasklet waking itself),
so let's use the proper condition for this.
include/proto/task.h