serialize all memory card operations since mount operations hang if we're doing lsusb or reading USB mass storage descriptors in another thread

This commit is contained in:
Chris Danford
2004-10-09 08:16:48 +00:00
parent f8a8294588
commit bc39cb5079
5 changed files with 26 additions and 26 deletions
+3 -3
View File
@@ -33,10 +33,10 @@ public:
void MountCard( PlayerNumber pn );
void UnmountCard( PlayerNumber pn );
void PauseMountingThread(); // call this before reading or writing to memory card
void UnPauseMountingThread(); // call this when done reading or writing to memory card
void PauseMountingThread(); // call this before mouting, reading, or writing to memory card
void UnPauseMountingThread(); // call this when done mouting, reading, or writing to memory card
void FlushAndReset(); // force all files to be written to mounted memory cards
void FlushAndReset(); // force all files to be flushed to mounted memory cards
bool PathIsMemCard( CString sDir ) const;