I noticed something odd while working with net/websocket today.

It seems sdselect takes a timeout as its fourth parameter, and the wiki
seems to indicate that this is meant to be the timeout for the entire
sdselect call.

However, in practice, the timeout is spent for each of the other three
parameters, so basically if you pass in a 5 second timeout, j may block for
15 seconds.

Is this a bug in the code or the documentation?

I was recording while I tracked this down so if you want to see exactly
what I'm talking about, go here:

https://youtu.be/XVTyRjrlWto?t=13221
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to