libev release candidate
Marc Lehmann
schmorp at schmorp.de
Tue May 8 16:47:25 CEST 2012
On Tue, May 08, 2012 at 09:26:55AM -0500, Brandon Black <blblack at gmail.com> wrote:
> Assertion '("libev: io watcher list contains a loop", w != w2)' failed
> in ev_verify() at ./libev/ev.c:2585
Can you replace the if before AND the assert:
if (++j & 1)
w2 = w2->next;
assert (("libev: io watcher list contains a loop", w != w2));
by:
if (j++ & 1)
{
assert (("libev: io watcher list contains a loop", w != w2));
w2 = w2->next;
}
And see if that makes it go away? (I never implemented this particular
algorithm before :)
--
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