Per Malmberg
Per Malmberg
Hello @paulftw I'm no longer actively using Smooth (my project is completed) so I'm not actively keeping up with the development of the ESP32/IDF at this point. I do however...
All networking is done by the SocketDispatcher running on its own thread and transferred to/from other tasks via queues. It polls the sockets on a 1ms interval when there was...
> I think setting this to zero seems to make much sense since here we are actually polling. Shall I modify this also in the next PR? Well, we are...
I did similar tests way back, also got weird results. It gets better if you run on a single core iirc. I have no ideas as to what to optimize,...
You've probably figured it out already, but each Task gets notified via a condition_variable when there is data available for that task. So there is a handover of the data...
Oh, I'm certain that there are things in Smooth that needs optimization. I really wish I had the time to be of more active assistance, I know this would be...
That's a good reduction in time just from fairly small changes. And yes, it should be possible to operate sockets in parallel with Smooth. SocketDispatcher only works with the sockets...
1. I think a configurable timeout in ms is better than x * tick since you can set the tick interval in configuration and the the call would then vary...
2. Ok then I suggest the select-timeout is made configurable. 3. Alright, so when running on the ESP the loop should start at an offset, but not when running on...
@enelson1001 Hey. I'm on vacation for another week, I'll have look at this afterwards.