ev_stat bug?

ry at tinyclouds.org ry at tinyclouds.org
Mon Nov 16 09:50:43 CET 2009


On Mon, Nov 16, 2009 at 5:33 AM, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Sun, Nov 15, 2009 at 04:07:37PM +0100, ry at tinyclouds.org wrote:
>> I'm now experiencing a similar but different issue. I am trying to
>> ev_unref() a ev_stat watcher just after starting it, expecting
>> ev_loop() to exit immediately if no other watchers are on it. I'm
>> using the latest CVS and the problem occurs with and without inotify
>> (again on Linux 2.6.24).
>
> Are you sure you are linking/compiling against the correct libev version?
> Your test program exits immediately here with current CVS.

Just double checked. It does appear to hang with the latest CVS.

19360d6a700f4cde21fafbdeab785d36  ev.c

Maybe I'm doing something totally wrong?

 % cvs -z3 -d :pserver:anonymous at cvs.schmorp.de/schmorpforge co libev
 % mv ev_stat_bug2.c libev
 % cd libev
 % gcc -lm -I. ev_stat_bug2.c -o ev_stat_bug2
 % ./ev_stat_bug2

I'm using gcc 4.2.4



More information about the libev mailing list