]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: threads: Use __decl_hathreads to declare locks
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 13 Nov 2017 09:34:01 +0000 (10:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 Nov 2017 10:38:17 +0000 (11:38 +0100)
commit9dcf9b6f031ed02a05cbbc76bf06b53d97d25fa3
tree9c8baf801ee128b200c11b2ba540fd3b35ebd381
parentf4cfcf9a269ae3f106f3d5c2725fcf3abdd54e66
MINOR: threads: Use __decl_hathreads to declare locks

This macro should be used to declare variables or struct members depending on
the USE_THREAD compile option. It avoids the encapsulation of such declarations
between #ifdef/#endif. It is used to declare all lock variables.
35 files changed:
include/common/buffer.h
include/common/hathreads.h
include/common/memory.h
include/proto/applet.h
include/proto/fd.h
include/proto/signal.h
include/proto/task.h
include/types/backend.h
include/types/dns.h
include/types/fd.h
include/types/global.h
include/types/listener.h
include/types/pattern.h
include/types/peers.h
include/types/proxy.h
include/types/server.h
include/types/spoe.h
include/types/stick_table.h
include/types/task.h
include/types/vars.h
src/applet.c
src/buffer.c
src/checks.c
src/compression.c
src/fd.c
src/hlua.c
src/listener.c
src/pattern.c
src/pipe.c
src/server.c
src/signal.c
src/ssl_sock.c
src/stream.c
src/task.c
src/vars.c