libev SIGCHLD handler

Brandon Black blblack at gmail.com
Thu May 10 19:23:21 CEST 2012


On Thu, May 10, 2012 at 6:28 AM, Vetoshkin Nikita
<nikita.vetoshkin at gmail.com> wrote:
> So correct SIGCHLD handler should loop calling waitpid() until no zombies exist.
> Please, correct me, if I'm wrong.

The code does appear to "loop" on waitpid as you describe, it just
does so by feeding itself new events until waitpid() indicates there
are no more children, if you look at childcb() in ev.c



More information about the libev mailing list