CVS now contains a tentative fix, you can get it via: cvs -z3 -d :pserver:anonym...@cvs.schmorp.de/schmorpforge co libev
On Fri, Apr 25, 2014 at 03:34:09PM +0300, Assaf Inbal <shmuel...@gmail.com> wrote: > Just one more question, if the issue is because the mask isn't cleared > for the FD, why does it work without the timer in the sample code I > attached before, I still call ev_io_stop on the first FD, and then > ev_io_start on the next. The fds are removed only when polling for new events, so when you immediately register the same fd again, it will still be in the list, so things work. If you wait a bit, by using a timer, then the backend will remove the fd from the list without clearing the flag, so when you then register the fd again, the backend thinks its still in the list (flag set) and doesn't re-add it. -- 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