ev_stat bug?

Marc Lehmann schmorp at schmorp.de
Wed Nov 11 16:01:54 CET 2009


On Wed, Nov 11, 2009 at 03:58:35PM +0100, ry at tinyclouds.org wrote:
> It seems that ev_stat does not ev_unref after starting its internal
> timer, causing the event loop not to exit even if all ev_stats have
> been stopped. The attached program does not exit when I run it and
> "touch /tmp/foobar". I'm experiencing this on Linux 2.6.24.

Does it work as expected when you run it with LIBEV_FLAGS=1048576 ?
(that disabled inotify).

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



More information about the libev mailing list