mirror of
https://github.com/glest/glest-source.git
synced 2025-08-10 10:24:01 +02:00
bugfix for precache crc thread unpause on game end
This commit is contained in:
@@ -47,6 +47,7 @@ protected:
|
||||
Mutex mutexPendingTextureList;
|
||||
vector<Texture2D *> pendingTextureList;
|
||||
|
||||
static string preCacheThreadCacheLookupKey;
|
||||
Mutex mutexPauseForGame;
|
||||
bool pauseForGame;
|
||||
std::vector<FileCRCPreCacheThread *> preCacheWorkerThreadList;
|
||||
@@ -57,6 +58,10 @@ protected:
|
||||
public:
|
||||
FileCRCPreCacheThread();
|
||||
FileCRCPreCacheThread(vector<string> techDataPaths,vector<string> workerThreadTechPaths,FileCRCPreCacheThreadCallbackInterface *processTechCB);
|
||||
virtual ~FileCRCPreCacheThread();
|
||||
|
||||
static void setPreCacheThreadCacheLookupKey(string value) { preCacheThreadCacheLookupKey = value; }
|
||||
|
||||
virtual void execute();
|
||||
void setTechDataPaths(vector<string> value) { this->techDataPaths = value; }
|
||||
void setWorkerThreadTechPaths(vector<string> value) { this->workerThreadTechPaths = value; }
|
||||
|
Reference in New Issue
Block a user