SIGCHLD not received

Denis Bilenko denis.bilenko at
Tue May 29 20:57:31 CEST 2012

On Tue, May 29, 2012 at 10:08 PM, Marc Lehmann <schmorp at> wrote:
> You also don't call waitpid on your children - can you add error checking
> to all functions you call, to make sure you really do wait for your
> children (especially check fork returns)? Most likely you run out of
> process slots and fork fails, which your code "misinterprets" as a hang.

No, it's not that. Attached is the program that checks the error codes
and also waits for a child using child watcher. Still fails.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsigchld2.c
Type: text/x-csrc
Size: 1294 bytes
Desc: not available
URL: <>

More information about the libev mailing list