mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-08 15:32:58 +00:00
This fixes a potential race condition in select() if both a socket-fd and non-socket fd trigger simultaneously to unblock this select. In case of both fds, we use lwip's local thread semaphore, so we only have to try return it (if it was taken/triggered more than once) when we exit select(). Closes https://github.com/espressif/esp-idf/issues/8896
40 KiB
40 KiB