Hi,
are the NVS access functions for writing and reading thread safe or do I have to use a mutex in my user code when accessing/committing the flash to prevent concurrent access?
Thank you!
Best,
Malte
NVS functions thread-safe?
Re: NVS functions thread-safe?
NVS functions (C API) do locking internally, preventing concurrent access.
Re: NVS functions thread-safe?
Can some one confirm it that it is thread safe. we found internal fatfs gets corrupted easily. does not sound thread safe.
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: NVS functions thread-safe?
Erm, ESP_Iggr just confirmed it is thread safe, one post above yours.
Re: NVS functions thread-safe?
Sorry bothering again. Is it thread safe against same namespace.
Who is online
Users browsing this forum: No registered users and 335 guests