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
Disable sthread at the end of the sthread_main
[simgrid.git]
/
src
/
sthread
/
sthread_impl.cpp
diff --git
a/src/sthread/sthread_impl.cpp
b/src/sthread/sthread_impl.cpp
index
d3e41ae
..
df18541
100644
(file)
--- a/
src/sthread/sthread_impl.cpp
+++ b/
src/sthread/sthread_impl.cpp
@@
-43,6
+43,7
@@
int sthread_main(int argc, char** argv, char** envp, int (*raw_main)(int, char**
XBT_INFO("Starting the simulation.");
sg4::Engine::get_instance()->run();
+ sthread_disable();
XBT_INFO("All threads exited. Terminating the simulation.");
return 0;