Core/TaskScheduler: Another try to remove race condition

This commit is contained in:
SirLynix
2024-02-04 13:04:29 +01:00
parent c148bc2851
commit 44617bd14d
3 changed files with 15 additions and 10 deletions

View File

@@ -42,7 +42,6 @@ namespace Nz
Worker& GetWorker(unsigned int workerIndex);
void NotifyTaskCompletion();
std::atomic_bool m_idle;
std::atomic_uint m_remainingTasks;
std::size_t m_nextWorkerIndex;
std::vector<Worker> m_workers;