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

Petar Paradzik petar.paradzik at sartura.hr
Fri Sep 29 04:35:47 PDT 2017


It is already present (in the master), but not used.

Regards,
Petar

On Fri, Sep 29, 2017 at 12:41 PM, Felix Fietkau <nbd at nbd.name> wrote:
> 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