[PATCH] interruptable accept

Thomas Pfaff tpfaff@gmx.net
Mon Jul 1 06:51:00 GMT 2002



On Mon, 1 Jul 2002, Corinna Vinschen wrote:

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

This wasn't a patch, just a preview. I have not tested it yet. And i can
not update my CVS source before evening. Sorry.

Thomas



More information about the Cygwin-patches mailing list