[iolib-devel] Bug when using READ-LINE on non-blocking fds
stelian.ionescu-zeus at poste.it
Sat Feb 7 20:36:32 UTC 2009
On Sun, 2009-02-08 at 01:59 +0530, Chaitanya Gupta wrote:
> Stelian Ionescu wrote:
> > That's correct. Thanks for the notice, I've just pushed a fix ;)
> Cool! Thanks for the quick fix. I wanted to point out that even
> READ-SEQUENCE had similar problems, but that too seems to have been
> fixed i.e. READ-SEQUENCE now correctly waits till the required amount of
> data has been sent by the client.
> On that note, does iolib provide any function to read a chunk of data
> without blocking i.e. something like READ-CHAR-NO-HANG for sequences?
> (or, something akin to what read(2) provides when O_NONBLOCK is set).
No. The current iolib streams are gray-streams therefore are
blocking(because CL streams are designed that way). The other stream
layer I'm working on(zeta-streams) should provide that, but it's not
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the iolib-devel