Page 1 of 1

Thread safety

Posted: Wed Jul 15, 2009 10:43 am
by tom34
Hello,

Just to make sure, is libfat thread-safe? I'm not talking about sharing a stream between threads.
I'm talking about sharing a device (SD card for example), and reading/writing from/to it without synchronizing the calls to fopen/fread/fwrite.

Thanks.

Re: Thread safety

Posted: Sun Jul 26, 2009 11:40 am
by tom34
Hello again.
Does this silence mean "no"?
Maybe the author doesn't read these forums?
Just in case i think i will synchronize everything, but please answer if you know, thanks.

Re: Thread safety

Posted: Sun Jul 26, 2009 10:19 pm
by WinterMute
Lack of a reply generally means nobody has got around to replying yet.

libfat is thread safe, yes.

Re: Thread safety

Posted: Mon Jul 27, 2009 3:21 pm
by tom34
Thanks a lot.
Sorry for being a little impatient.