]> git.kaiwu.me - haproxy.git/commit
MINOR: tasks: Introduce __task_set_state_and_tid
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 16 Apr 2026 16:01:52 +0000 (18:01 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 12 Jun 2026 09:49:09 +0000 (11:49 +0200)
commit91f9e3a3dd6619683b29e6df2d80a30e57b1e391
tree7dc85b943b43bb4501f72dfb6d6c3dce7363b08a
parent92206fb02f179e3c8c690ac055ac9a7d31064a80
MINOR: tasks: Introduce __task_set_state_and_tid

Introduce a new function, __task_set_state_and_tid, that atomically can
set a task's state and its tid. This will be used later, as the tid will
be used to indicate task ownership even for shared tasks.
include/haproxy/task.h
src/task.c