Merge branch 'cache-lwip-sock-pointers' into integration

This commit is contained in:
J. Nick Koston
2026-03-01 14:11:00 -10:00
+2
View File
@@ -597,6 +597,7 @@ void Application::unregister_socket(struct lwip_sock *sock) {
#elif defined(USE_SOCKET_SELECT_SUPPORT)
bool Application::register_socket_fd(int fd) {
// WARNING: This function is NOT thread-safe and must only be called from the main loop
// It modifies socket_fds_ and related variables without locking
if (fd < 0)
return false;
@@ -622,6 +623,7 @@ bool Application::register_socket_fd(int fd) {
void Application::unregister_socket_fd(int fd) {
// WARNING: This function is NOT thread-safe and must only be called from the main loop
// It modifies socket_fds_ and related variables without locking
if (fd < 0)
return;