]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task/debug: explicitly support passing a null caller to wakeup functions
authorWilly Tarreau <w@1wt.eu>
Thu, 9 Nov 2023 11:03:24 +0000 (12:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 9 Nov 2023 16:24:00 +0000 (17:24 +0100)
commit0eb0914dbabef74ece8327de669652357bf8802a
treee253a84e169fadaf3ee8454ddc85cb3eca14940d
parent4dee110f565cfb254c0fdbcfe4358177fda9c4e8
MINOR: task/debug: explicitly support passing a null caller to wakeup functions

This is used for tracing and profiling. By permitting to have a NULL
caller, we allow a caller to explicitly pass zero to state that the
current caller must not be replaced. This will soon be used by
wake_expired_tasks() to avoid replacing a caller in the expire loop.
include/haproxy/task.h