]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: threads/logs: Make logs thread-safe
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Jun 2017 14:20:16 +0000 (16:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 12:58:30 +0000 (13:58 +0100)
commitf8188c69fa5d19e3e12ef92a30cd154c7fa514e1
tree2edf72008d60ab0d9113d7f98c052f3afb8382be
parent9a6557178164996f15454301b9f94b0e4720d249
MEDIUM: threads/logs: Make logs thread-safe

log buffers and static variables used in log functions are now thread-local. So
there is no need to lock anything to log messages. Moreover, per-thread
init/deinit functions are now used to initialize these buffers.
include/proto/log.h
src/log.c