Moved JOLT state tracking into ComponentThread::

This commit is contained in:
2025-08-10 13:29:34 -04:00
parent 42b32f27e6
commit 099d60bcc4
4 changed files with 11 additions and 9 deletions
+3
View File
@@ -65,6 +65,9 @@ std::shared_ptr<ComponentThread> world =
std::make_shared<ComponentThread>(ComponentThread::WORLD);
}
// Initialize static state
std::atomic<bool> ComponentThread::threadsHaveBeenJolted{false};
std::array<std::shared_ptr<ComponentThread>, ComponentThread::N_ITEMS>
ComponentThread::componentThreads =
{