[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] non-blocking (read)
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] non-blocking (read) |
Date: |
Sun, 17 Jul 2005 09:01:48 +0200 |
On 7/15/05, Daishi Kato <address@hidden> wrote:
> Hi,
>
> How could I make the standard (read) non-blocking?
>
Sorry, but currently I/O from stdio and files is fully blocking.
The reason why the REPL doesn't seem to block is due to a clever
hack (originally by Chris Double) that performs a select(2) before
actually reading an expression. Doing the same for every input would
be too much and would slow down I/O unnecessarily (and Chicken's
I/O isn't particularly fast in the first place).
Do you have a particular application in mind? Perhaps we can find
a workaround.
cheers,
felix
- [Chicken-users] non-blocking (read), Daishi Kato, 2005/07/15
- Re: [Chicken-users] non-blocking (read),
felix winkelmann <=
- Re: [Chicken-users] non-blocking (read), Daishi Kato, 2005/07/18
- Re: [Chicken-users] non-blocking (read), felix winkelmann, 2005/07/19
- Re: [Chicken-users] non-blocking (read), Daishi Kato, 2005/07/19
- Re: [Chicken-users] non-blocking (read), Thomas Chust, 2005/07/19
- Re: [Chicken-users] non-blocking (read), felix winkelmann, 2005/07/20
- Re: [Chicken-users] non-blocking (read), Daishi Kato, 2005/07/20
- Re: [Chicken-users] non-blocking (read), Daishi Kato, 2005/07/20