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
FATFileSystemon an SD card (viasd-driver). Is this thread-safe?Details
I'm writing to
/fs/dir1/file1from thread 1, and writing to/fs/dir2/file2from 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
FATFileSystemwraps) has anFF_FS_REENTRANToption, which Mbed OS doesn't support. Would that be necessary for thread safety?