[physfs] Multithreading / MSYS compilation
evilazrael at evilazrael.de
Thu Jan 7 13:21:55 EST 2010
i am currently thinking about using physfs in my project. I am a little
puzzled what "For efficiency, individual file accesses are not locked,
so you can not safely read/write/seek/close/etc the same file from two
threads at the same time" exactly means?
May an opened archive only be accessed from a thread?
An abstracted file cannot be opened twice generally?
Or may a PHYSFS_File descriptor not be used simultaneously, but opening
a file twice will work?
I got first stuck at the same problem described in
http://icculus.org/pipermail/physfs/2009-July/000757.html . Perhaps a
notice or new patch release could help others to avoid this. Or have i
Thanks in advance for an answer
E-Mail : evilazrael at evilazrael.de
Jabber : eazrael at evilazrael.net ICQ : 78819723
PGP-Key : ID 0x424FB55B on subkeys.pgp.net
More information about the physfs