joltwallet / esp_littlefs

LittleFS port for ESP-IDF
MIT License
254 stars 95 forks source link

thread safe littlefs #177

Closed voedipus closed 6 months ago

voedipus commented 6 months ago

I think there should be an option in Kconfig to enable thread safe littlefs for public API functions Screenshot_20240221_212642

BrianPugh commented 6 months ago

esp_littlefs added threadsafety before upstream littlefs added threadsafety. Regardless, the components inside esp_littlefs need to be threadsafe as well, so there's no benefit in enabling upstream littlefs's threadsafe locking (no need to double lock).

voedipus commented 6 months ago

Thank you for reply! I will close issue