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
make sthread work out of MC build trees
[simgrid.git]
/
src
/
xbt
/
xbt_main.cpp
diff --git
a/src/xbt/xbt_main.cpp
b/src/xbt/xbt_main.cpp
index
194479b
..
6086dad
100644
(file)
--- a/
src/xbt/xbt_main.cpp
+++ b/
src/xbt/xbt_main.cpp
@@
-41,7
+41,7
@@
std::string binary_name; /* Name of the system process containing us (m
std::vector<std::string> cmdline; /* all we got in argv */
} // namespace simgrid::xbt
std::vector<std::string> cmdline; /* all we got in argv */
} // namespace simgrid::xbt
-
int sthread_inside_simgrid = 1; // whether sthread should leave pthread operations or intercept them
.
+
volatile int sthread_inside_simgrid = 1; // Only intercept pthread calls in user code
.
int xbt_initialized = 0;
simgrid::config::Flag<bool> cfg_dbg_clean_atexit{
int xbt_initialized = 0;
simgrid::config::Flag<bool> cfg_dbg_clean_atexit{