add GameThreadPool

This commit is contained in:
savis
2026-01-05 17:20:12 +01:00
parent dbdfd57c41
commit 7718c65d7a
12 changed files with 575 additions and 285 deletions

View File

@@ -7,6 +7,7 @@
#include <set>
#include <map>
#include <string>
#include <mutex>
class CTextureCache;
@@ -76,6 +77,8 @@ class CResourceManager : public CSingleton<CResourceManager>
static CFileLoaderThread ms_loadingThread;
CFileLoaderThreadPool* m_pLoaderThreadPool;
CTextureCache* m_pTextureCache;
mutable std::mutex m_ResourceMapMutex; // Thread-safe resource map access
};
extern int g_iLoadingDelayTime;