esp-idf/components/vfs
David Cermak f974099b42 vfs: Fix potential select() race if both sock and other-fd trigger
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
2022-05-19 16:57:39 +02:00
..
include
private_include
test
CMakeLists.txt
Kconfig
component.mk
openocd_semihosting.h
sdkconfig.rename
vfs.c vfs: Fix potential select() race if both sock and other-fd trigger 2022-05-19 16:57:39 +02:00
vfs_cdcacm.c
vfs_console.c
vfs_eventfd.c
vfs_semihost.c
vfs_uart.c
vfs_usb_serial_jtag.c