[LEDE-DEV] [PATCH] uloop: make SIGCHLD signal handling optional

Felix Fietkau nbd at nbd.name
Fri Sep 29 03:41:49 PDT 2017


On 2017-07-03 13:37, Petar Paradzik wrote:
> Some programs want to manage their own child life cycle without using
> SIGCHLD signal handler. In these cases, uloop is reaping children for
> them because they don't have SIGCHLD handler set. This patch makes it
> possible to disable reaping children through 'uloop_handle_sigchld'
> variable.
> 
> Signed-off-by: Petar Paradzik <petar.paradzik at sartura.hr>
> ---
>  uloop.c | 5 ++++-
You also need to add 'extern bool uloop_handle_sigchld' to uloop.h

- Felix



More information about the Lede-dev mailing list