chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno repo


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting
Date: Wed, 27 Mar 2013 22:18:48 +0100
User-agent: Mutt/1.4.2.3i

On Tue, Mar 26, 2013 at 08:30:23PM -0400, John Cowan wrote:
> > However, posixwindows doesn't have an implementation for file-select
> > at all, while select() certainly is available on Windows (the scheduler
> > uses it too, after all!).
> 
> IIRC, the trouble with select() on Windows is that it has nothing to say
> about fds that are associated with non-sockets, and indeed Cygwin jumps
> through enormous hoops to make its use seamless.

Thanks for the heads up, I wasn't able to find any info on this.
This means the bit where I moved some stuff into C_check_fd_ready() is
not going to work, and still requires duplication in tcp.scm

I guess this also means that the duplication in posixunix needs to stay.
Goddamn Windows, always messing up our neat little plans!

I'll need to think about this some more and will make a new patch later.

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]