uloop: make SIGCHLD signal handling optional
authorPetar Paradzik <petar.paradzik@sartura.hr>
Mon, 3 Jul 2017 11:37:56 +0000 (13:37 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 29 Sep 2017 11:37:17 +0000 (13:37 +0200)
commitf714be125c9b85e184a482bc22e958b5cadfad3a
treedd038c32300393206acdb9c5944ef03043e68690
parent7a1057604ed2ad83434ed3be03728065b14a5e9c
uloop: make SIGCHLD signal handling optional

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@sartura.hr>
uloop.c