On Thu, May 10, 2012 at 6:28 AM, Vetoshkin Nikita <[email protected]> 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 _______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
