Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to avoid that others fall into the trap where I was yesterday
[simgrid.git] / src / s4u / s4u_engine.cpp
index 5734a1f..3d98c54 100644 (file)
@@ -153,5 +153,10 @@ void Engine::netpointUnregister(simgrid::kernel::routing::NetPoint* point)
     delete point;
   });
 }
+
+bool Engine::isInitialized()
+{
+  return Engine::instance_ != nullptr;
 }
 }
+} // namespace