MINOR: time: export the global_now variable
authorWilly Tarreau <w@1wt.eu>
Wed, 17 Mar 2021 17:52:18 +0000 (18:52 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Mar 2021 08:07:41 +0000 (09:07 +0100)
commitf520788e171f3393347da00358ae4ca2f30789a2
treecd174d48b12d308751ed546966f488f2a19a4e86
parent2d39ce334654fae7760f8708d50477150e7af87c
MINOR: time: export the global_now variable

This is the process-wide monotonic time that is used to update each
thread's own time. It may be required at a few places where a strictly
monotonic clock is required such as freq_ctr. It will be have to be
backported as a dependency of a forthcoming fix.

(cherry picked from commit 650f374f24c4dd14e90d336c72c2370242be1459)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/time.h
src/time.c