chicken-users
[Top][All Lists]
Advanced

[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




reply via email to

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