On Tue, Jul 24, 2012 at 12:06:34PM +0400, Denis Bilenko 
<denis.bile...@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
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to