On 7/15/05, Daishi Kato [EMAIL PROTECTED] 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 mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users