]> granicus.if.org Git - esp-idf/commit
VFS: esp_vfs_select() needs to be callable from concurrent tasks
authorRoland Dobai <dobai.roland@gmail.com>
Tue, 29 May 2018 09:01:25 +0000 (11:01 +0200)
committerRoland Dobai <dobai.roland@gmail.com>
Tue, 29 May 2018 09:01:25 +0000 (11:01 +0200)
commit15b26f8841049d3cb5d50eded25639b2e491781b
tree6c2a092504e9daa2c860f8d58f7e0cf6171352d2
parentbdbcc492cf16a49d93fa07e89abf041293ca8b0e
VFS: esp_vfs_select() needs to be callable from concurrent tasks

This fix is for compatibility with lwip_select(). It moves the lock to
UART which is the only VFS driver which is implemented and is not
"thread-safe".
components/vfs/include/esp_vfs.h
components/vfs/test/test_vfs_select.c
components/vfs/vfs.c
components/vfs/vfs_uart.c