]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: task: only keep task_new_*() and drop task_new()
authorWilly Tarreau <w@1wt.eu>
Wed, 15 Jun 2022 14:37:33 +0000 (16:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000 (19:15 +0200)
commit1f4bf7215af9a50ebebe86a940c367825045cd21
treeb1de44ad560eed718a985422ec27b3e72f60c6ad
parentcb8542755ec040215f66a630143a412ff5228260
MEDIUM: task: only keep task_new_*() and drop task_new()

As previously advertised in comments, the mask-based task_new() is now
gone. The low-level function now is task_new_on() which takes a thread
number or a negative value for "any thread", which is turned to zero
for thread-less builds since there's no shared WQ in thiscase. The
task_new_here() and task_new_anywhere() functions were adjusted
accordingly.
include/haproxy/task.h