This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] interruptable accept
- From: Thomas Pfaff <tpfaff at gmx dot net>
- To: Corinna Vinschen <cygwin-patches at cygwin dot com>
- Date: Mon, 1 Jul 2002 15:51:35 +0200 (Westeuropäische Sommerzeit)
- Subject: Re: [PATCH] interruptable accept
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