[PATCH] interruptable accept

Corinna Vinschen cygwin-patches@cygwin.com
Mon Jul 1 06:46:00 GMT 2002

On Mon, Jul 01, 2002 at 03:20:51PM +0200, Thomas Pfaff wrote:
> There is another problem with WSAEventSelect. This is winsock2 stuff and
> will not run on Win95 without a WIN95 winsock2 update and cygwin1 must
> link against ws2_32. I do not think that this is what you want.

That's right but that's not a problem since we don't link against
wsock libs, we load the functions on demand.  See autoload.cc.
CancelIo() as used in wsock_event::wait() isn't available on 95, too.
In that case it just falls back to blocking io.

> Any way, here is an untestet version to see how it could be implemented:

Yeah, like this, just moved to fhandler_socket::accept.

One plea, could you please send patches using the diff -up format?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

More information about the Cygwin-patches mailing list