MEDIUM: threads/signal: Add a lock to make signals thread-safe
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 30 May 2017 13:34:30 +0000 (15:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 12:58:30 +0000 (13:58 +0100)
commitb79a94c9f3c6b741a219decfeb004896cd978795
tree241b56fb165693603e3c50c8d9cf2688bc87a1e3
parentc60def8368f73e578685c4f02df7d6dbe63c85d3
MEDIUM: threads/signal: Add a lock to make signals thread-safe

A global lock has been added to protect the signal processing. So when a signal
it triggered, only one thread will catch it.
include/common/hathreads.h
include/proto/signal.h
src/haproxy.c
src/signal.c