[usocket-devel] Wait-for-input/socket-accept for sbcl/win32
Kalyanov Dmitry
kalyanov.dmitry at gmail.com
Sun Sep 19 17:29:47 UTC 2010
Definition of USOCKET class has the comment the %READY-P slot is reset
by SOCKET-ACCEPT function. But right now SOCKET-ACCEPT does not reset
it, hence WAIT-FOR-INPUT will not actuall wait after the first it time
it notices the readiness.
Also, SB-BSD-SOCKETS:SOCKET-ACCEPT may return NIL (if accept call
returned EWOULDBLOCK, for example), and USOCKET:SOCKET-ACCEPT will try
to use it.
Attached is a patch that fixes these two issues.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usocket-socket-accept.diff
Type: text/x-patch
Size: 1168 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/usocket-devel/attachments/20100919/d45082bc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/usocket-devel/attachments/20100919/d45082bc/attachment.sig>
More information about the usocket-devel
mailing list