gvanem / Watt-32

Watt-32 TCP/IP library and samples.
https://www.watt-32.net/
18 stars 8 forks source link

Avoid running daemon on every loop in `select_s()`/`poll()` #93

Closed jwt27 closed 8 months ago

jwt27 commented 8 months ago

Small addition to #87. Possible alternative: Use a flag in _sock_crit_stop() to only run daemon if it was missed previously.

Also some minor improvements to comments and code style.

gvanem commented 8 months ago

LGTM. Merging and many thanks again.