Problem with select on windows
H.Belder at student.TUDelft.NL
Sat Feb 26 15:23:08 CET 2011
> > 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
> invalid (closed) fd - it's like closing an fd while trying to read
> it, or freeing memory while using it.
Maybe. But if I reverse the close and ev_io_stop calls the same happens.
More information about the libev