synchronize access to memory cards between mounting thread and main thread Profile Load/Save

This commit is contained in:
Chris Danford
2004-06-06 02:41:16 +00:00
parent 5c7dd115ad
commit 110ec3d331
11 changed files with 190 additions and 143 deletions
@@ -2,6 +2,7 @@
#define MemoryCardDriverThreaded_Windows_H 1
#include "MemoryCardDriverThreaded.h"
#include <windows.h>
class MemoryCardDriverThreaded_Windows : public MemoryCardDriverThreaded
{
@@ -10,12 +11,12 @@ public:
virtual void Unmount( UsbStorageDevice* pDevice, CString sMountPoint );
virtual void Flush( UsbStorageDevice* pDevice );
virtual void ResetUsbStorage();
protected:
virtual void MountThreadMain();
virtual void Mount( UsbStorageDevice* pDevice, CString sMountPoint );
virtual void MountThreadReset();
virtual void MountThreadDoOneUpdate();
bool m_bReset;
DWORD m_dwLastLogicalDrives;
};
#endif