On Fri, Feb 11, 2011 at 02:03:23AM +0100, Bert Belder <[email protected]> 
wrote:
>    fd = _open_osfhandle(socket());
>    ev_io_set(w, fd, EV_READ);
>    ev_io_start(w);
>    close(fd);
>    ev_io_stop(w);

That's simply a programming bug, you tell libev to receive events for an
invalid (closed) fd - it's like closing an fd while trying to read from
it, or freeing memory while using it.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to