Moved JOLT state tracking into ComponentThread::
This commit is contained in:
@@ -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 =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user