This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] interruptable accept


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?

Thanks,
Corinna

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]