SIGCHLD not received

Marc Lehmann schmorp at schmorp.de
Tue Jul 24 18:56:23 CEST 2012


On Tue, Jul 24, 2012 at 12:06:34PM +0400, Denis Bilenko <denis.bilenko at gmail.com> wrote:
> Expected output:
> 
> *. goes on infinitely

That's what I seem to get, but that's to be expected from races, which is
why I asked.

> > Can you explain the mechanism or nature of that race condition?
> 
> in loop_fork() you call

Hm, right.

Can you try the CVS version of libev? That one doesn't rely on this check
anymore, and will probably just work (the test in the signal handler relied
on int being atomic and was actually a temporary bug workaround, which the
cvs version should fix)

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list