Code

collectdmon: Do not block SIGCHLD.
authorSebastian Harl <sh@tokkee.org>
Thu, 2 Oct 2008 13:25:10 +0000 (15:25 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Fri, 3 Oct 2008 20:15:43 +0000 (22:15 +0200)
commit980abcf9a631fedc82920942e4c845315c49ba9a
tree9f16f0fcf26aead5c2404ba4dd29308cdd613b82
parente91c152671baed64c72cfd4864e5ef8c145b862e
collectdmon: Do not block SIGCHLD.

There is no reason to do so as we do not need to synchronize any waitpid()
calls. In fact, doing so was wrong because waitpid() should then return with
an error according to POSIX. This was still working so far since waitpid()
would not return until all children terminated and this is all we really care
about.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/collectdmon.c