[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno repo
From: |
Felix |
Subject: |
Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting |
Date: |
Fri, 29 Mar 2013 19:08:19 +0100 (CET) |
From: Peter Bex <address@hidden>
Subject: Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno
reporting
Date: Wed, 27 Mar 2013 22:34:46 +0100
> On Wed, Mar 27, 2013 at 10:18:48PM +0100, Peter Bex wrote:
>> 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
>
> Actually, scratch that. Unless this means that the current
> implementation of the scheduler is broken on Windows in the first place?
> It uses select() for all FDs that any thread is blocked on for I/O,
> not just sockets.
>
That's fine. There is no one to implement the full solution anyway,
which would mean, digging into the win32 API.
cheers,
felix
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, (continued)
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Jörg F . Wittenberger, 2013/03/20
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Peter Bex, 2013/03/20
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Jörg F . Wittenberger, 2013/03/20
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Peter Bex, 2013/03/20
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Jörg F . Wittenberger, 2013/03/21
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Florian Zumbiehl, 2013/03/21
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Peter Bex, 2013/03/26
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, John Cowan, 2013/03/26
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Peter Bex, 2013/03/27
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Peter Bex, 2013/03/27
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting,
Felix <=
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Peter Bex, 2013/03/29
- Re: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting, Felix, 2013/03/29