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 fatfs: Add ftruncate api support for VFS and FAT-VFS 2022-05-02 04:37:56 +00:00
private_include vfs_usb_serial: set secondary selection for making usb port can output under default menu 2021-11-17 19:54:15 +08:00
test vfs: add test for errno value after 'open' 2022-02-07 11:36:00 +01:00
CMakeLists.txt vfs_usb_serial: set secondary selection for making usb port can output under default menu 2021-11-17 19:54:15 +08:00
component.mk vfs_usb_serial: set secondary selection for making usb port can output under default menu 2021-11-17 19:54:15 +08:00
Kconfig vfs: list IO functions which can be used with VFS_SUPPORT_IO disabled 2021-08-23 07:02:19 +02:00
openocd_semihosting.h vfs: add support for semihosting on ESP32-C3 2022-04-19 13:55:36 +00:00
sdkconfig.rename Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
vfs_cdcacm.c vfs_usb_serial: set secondary selection for making usb port can output under default menu 2021-11-17 19:54:15 +08:00
vfs_console.c vfs_usb_serial: set secondary selection for making usb port can output under default menu 2021-11-17 19:54:15 +08:00
vfs_eventfd.c vfs: fix occasional ISR context mismatch in event fd 2021-09-17 17:31:20 +08:00
vfs_semihost.c vfs: add support for semihosting on ESP32-C3 2022-04-19 13:55:36 +00:00
vfs_uart.c vfs_usb_serial: set secondary selection for making usb port can output under default menu 2021-11-17 19:54:15 +08:00
vfs_usb_serial_jtag.c vfs_usb_serial: set secondary selection for making usb port can output under default menu 2021-11-17 19:54:15 +08:00
vfs.c vfs: Fix potential select() race if both sock and other-fd trigger 2022-05-19 16:57:39 +02:00