Document Socket::ready() as main-loop-only

This commit is contained in:
J. Nick Koston
2026-02-23 22:10:29 -06:00
parent 341395a1cd
commit 44462d8453

View File

@@ -71,7 +71,7 @@ class Socket {
int get_fd() const { return -1; }
#endif
/// Check if socket has data ready to read
/// Check if socket has data ready to read. Must only be called from the main loop thread.
/// For select()-based sockets: non-virtual, checks Application's select() results
/// For LWIP raw TCP sockets: virtual, checks internal buffer state
#ifdef USE_SOCKET_SELECT_SUPPORT