refactor: More init sequence refactors

This commit is contained in:
WerWolv
2023-11-28 00:47:03 +01:00
parent 284f8534ab
commit f6d4d5ab22
4 changed files with 59 additions and 47 deletions

View File

@@ -65,8 +65,8 @@ namespace hex::init {
std::future<bool> processTasksAsync();
std::atomic<u32> m_totalTaskCount, m_completedTaskCount;
std::atomic<bool> m_taskStatus;
std::vector<Task> m_tasks;
std::atomic<bool> m_taskStatus = true;
std::list<Task> m_tasks;
std::mutex m_tasksMutex;
std::string m_gpuVendor;