]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tasks: Mutualize the TASK_KILLED code between tasks and tasklets
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 29 Apr 2025 13:46:20 +0000 (15:46 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 30 Apr 2025 15:09:14 +0000 (17:09 +0200)
commitb81c9390f44289225aadebdf0f13ef80cb05eda4
treea29beaa14e09dcb13aedef8e8775dbe8f0658b9d
parent4abfade371100de8e159da47ca006c0bbaffee4d
MEDIUM: tasks: Mutualize the TASK_KILLED code between tasks and tasklets

The code to handle a task/tasklet when it's been killed before it were
to run is mostly identical, so move it outside of task and tasklet
specific code, and inside the common code.

This commit is just cosmetic, and should have no impact.
src/task.c