]> git.kaiwu.me - haproxy.git/commit
MINOR: tasks: Add __task_get_new_tid_field()
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 28 Apr 2026 16:09:32 +0000 (18:09 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 12 Jun 2026 09:49:09 +0000 (11:49 +0200)
commit8b6d8f5e4f921f5ebb60a0e18de2bd12da136dc5
tree84db9dcf40b723c11e8658e40b4c9504cccd1cca
parent91f9e3a3dd6619683b29e6df2d80a30e57b1e391
MINOR: tasks: Add __task_get_new_tid_field()

Introduce __task_get_new_tid_field(), that provides the tid to be used
for a task.
For shared task, to mark temporary ownership of a task, instead of -1,
the tid will be set to -2-tid, tid being the tid of the current thread.
include/haproxy/task.h