MEDIUM: threads/pool: Make pool thread-safe by locking all access to a pool
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 29 Aug 2017 07:52:38 +0000 (09:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 12:58:30 +0000 (13:58 +0100)
commitb349e48ede90afe1c7b37741b87694429ddfc4da
tree5fd0c42d8ff771626bb0aa2f95f10b570860acbb
parentf8188c69fa5d19e3e12ef92a30cd154c7fa514e1
MEDIUM: threads/pool: Make pool thread-safe by locking all access to a pool

A lock has been added for each memory pool. It is used to protect the pool
during allocations and releases. It is also used when pool info are dumped.
include/common/hathreads.h
include/common/memory.h
src/haproxy.c
src/memory.c
src/proxy.c
src/ssl_sock.c