Thank you so much Marc, you were right, an EV_DEFAULT_ instead of EV_A_ (in ev_timer_again(EV_A_ &communication_timeout_watcher); ) solved it for me.
Thank you, Utku On Tue, Oct 29, 2013 at 11:31 PM, Marc Lehmann <schm...@schmorp.de> wrote: > On Tue, Oct 29, 2013 at 10:30:20PM +0200, utku genç <utkug...@gmail.com> > wrote: > > But if I move the ev_timer_again() one call deeper, as in: > > I see now, you are probably passing in an illegal loop pointer. > > > void do_something() { > > ev_timer_again(EV_A_ &communication_timeout_watcher); > > Where do you declare the loop, and what value does it have? You are > probably passing in an unrelated or uninitialised loop variable here. > > -- > 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