Adding ThreadPool (doesnt work)

This commit is contained in:
Dynamitos
2023-12-17 16:16:46 +01:00
parent c409a3acd0
commit 34e0d283e8
15 changed files with 82 additions and 661 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ void SystemGraph::addSystem(System::OSystemBase system)
systems.add(std::move(system));
}
void SystemGraph::run(dp::thread_pool<>& threadPool, float deltaTime)
void SystemGraph::run(ThreadPool& threadPool, float deltaTime)
{
for(auto& system : systems) {
system->run(threadPool, deltaTime);