Thread safety

Support for the GBA/DS/Gamecube/Wii media card library
Post Reply
tom34
Posts: 8
Joined: Wed Jul 15, 2009 9:11 am

Thread safety

Post by tom34 » Wed Jul 15, 2009 10:43 am

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.

tom34
Posts: 8
Joined: Wed Jul 15, 2009 9:11 am

Re: Thread safety

Post by tom34 » Sun Jul 26, 2009 11:40 am

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.

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Thread safety

Post by WinterMute » Sun Jul 26, 2009 10:19 pm

Lack of a reply generally means nobody has got around to replying yet.

libfat is thread safe, yes.
Help keep devkitPro toolchains free, Donate today

Personal Blog

tom34
Posts: 8
Joined: Wed Jul 15, 2009 9:11 am

Re: Thread safety

Post by tom34 » Mon Jul 27, 2009 3:21 pm

Thanks a lot.
Sorry for being a little impatient.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest