> >    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.

Maybe. But if I reverse the close and ev_io_stop calls the same happens.

- Bert

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

Reply via email to