]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: mworker: move signal handlers and related functions
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 1 Apr 2019 09:29:56 +0000 (11:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 1 Apr 2019 12:45:37 +0000 (14:45 +0200)
commite25473c846078c374a5766599265c7d84eb0f4b8
tree8937dca444c8b6e3b7afdf49c0817bd8125d9b5f
parent3fa724db87363828e29e45099eb536be4634414a
REORG: mworker: move signal handlers and related functions

Move the following functions to mworker.c:

void mworker_catch_sighup(struct sig_handler *sh);
void mworker_catch_sigterm(struct sig_handler *sh);
void mworker_catch_sigchld(struct sig_handler *sh);

static void mworker_kill(int sig);
int current_child(int pid);
include/proto/mworker.h
include/types/global.h
src/haproxy.c
src/mworker.c