]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: threads: don't register an initcall when not debugging
authorWilly Tarreau <w@1wt.eu>
Sun, 18 Oct 2020 08:20:59 +0000 (10:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Oct 2020 12:08:13 +0000 (14:08 +0200)
commit3d18498645308a068797b157f509fbabcb934c3f
treed73f2d6f48fd3df68a863262ac27ffe55546b4a3
parentfcb69d768bc5fc3bde98131ae27d7f8de847ca57
CLEANUP: threads: don't register an initcall when not debugging

It's a bit overkill to register an initcall to call a function to set
a lock to zero when not debugging, let's just declare the lock as
pre-initialized to zero.
include/haproxy/thread-t.h
src/thread.c