Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Summary
I'm using the Mbed OS
FATFileSystem
on an SD card (viasd-driver
). Is this thread-safe?Details
I'm writing to
/fs/dir1/file1
from thread 1, and writing to/fs/dir2/file2
from thread 2. The files are in different directories (obviously), but live on the same volume.I noticed that ChaN's FatFs (which the Mbed OS
FATFileSystem
wraps) has anFF_FS_REENTRANT
option, which Mbed OS doesn't support. Would that be necessary for thread safety?