[iolib-devel] Bug when using READ-LINE on non-blocking fds

Stelian Ionescu 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
finished yet.

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/iolib-devel/attachments/20090207/3ce85013/attachment.sig>


More information about the iolib-devel mailing list