]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: threads: implement ha_tkill() and ha_tkillall()
authorWilly Tarreau <w@1wt.eu>
Wed, 22 May 2019 06:43:34 +0000 (08:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 May 2019 09:50:48 +0000 (11:50 +0200)
commit2beaaf7d4622782de05300c141fc74fd8b145dc2
tree90b9f33f6f34e078b43c2a786b0546f6d1375ad2
parent8b35ba54bc978d4833a36b0384c24712b8b20fee
MINOR: threads: implement ha_tkill() and ha_tkillall()

These functions are used respectively to signal one thread or all threads.
When multithreading is disabled, it's always the current thread which is
signaled.
include/common/hathreads.h
src/hathreads.c