[usocket-devel] :timeout NIL for wait-for-input returns immediately on SBCL

Chaitanya Gupta mail at chaitanyagupta.com
Tue Dec 23 17:13:37 UTC 2008


Hi,

On SBCL, providing :timeout NIL to wait-for-input returns immediately 
even when there is no input on any of the provided sockets (the 
documentation says it should wait indefinitely).

Attached is a patch (svn diff) which fixes this, but I am not very sure 
about how sb-unix:unix-fast-select works, so its be best if someone who 
knows better can review it before committing this patch. :)

Cheers,
Chaitanya

-------------- next part --------------
A non-text attachment was scrubbed...
Name: usocket.patch
Type: text/x-diff
Size: 570 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/usocket-devel/attachments/20081223/13029618/attachment.patch>


More information about the usocket-devel mailing list