A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
try to avoid that others fall into the trap where I was yesterday
[simgrid.git]
/
src
/
s4u
/
s4u_engine.cpp
diff --git
a/src/s4u/s4u_engine.cpp
b/src/s4u/s4u_engine.cpp
index
5734a1f
..
3d98c54
100644
(file)
--- a/
src/s4u/s4u_engine.cpp
+++ b/
src/s4u/s4u_engine.cpp
@@
-153,5
+153,10
@@
void Engine::netpointUnregister(simgrid::kernel::routing::NetPoint* point)
delete point;
});
}
+
+bool Engine::isInitialized()
+{
+ return Engine::instance_ != nullptr;
}
}
+} // namespace