SIGCHLD not received

Denis Bilenko denis.bilenko at gmail.com
Tue May 29 14:31:05 CEST 2012


Hi,

I have a weird test case (attached) where SIGCHLD is not being
received by libev. I don't quite understand if it's a

1) bug in how I use libev
2) bug in libev itself
3) bug in the OS

The work around I found that makes this test pass is to patch libev to
start a timer (active only when there are active child watchers) which
calls childcb periodically.

I tested it against the latest libev from CVS.

uname -a: Linux denis-laptop 3.2.0-23-generic-pae #36-Ubuntu SMP Tue
Apr 10 22:19:09 UTC 2012 i686 athlon i386 GNU/Linux

Cheers,
Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsigchld.c
Type: text/x-csrc
Size: 1345 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20120529/b24cf7cb/attachment.c>


More information about the libev mailing list