Hi! Not sure if this issue was on the list, google suggests nothing. If I'm not mistaken, upon receiving SIGHCLD libev calls waitpid(-1, ...) only once, which is wrong because multiple SIGCHLDs can be merged into one if many child processes died while we were in sighandler code. So correct SIGCHLD handler should loop calling waitpid() until no zombies exist. Please, correct me, if I'm wrong.
---- Nikita Vetoshkin _______________________________________________ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev