Watching the video (currently at 3:46:??), I guess, it’s waiting each time ws_onstep_jws is called. But only one in three calls, TICK gets echoed. That’s where the factor of 3 comes in.
Am 18.11.21 um 01:39 schrieb Michal Wallace:
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
-- ---------------------- mail written using NEO neo-layout.org ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
