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
/
sthread
/
sthread.h
diff --git
a/src/sthread/sthread.h
b/src/sthread/sthread.h
index
6e7d4f8
..
233dbb1
100644
(file)
--- a/
src/sthread/sthread.h
+++ b/
src/sthread/sthread.h
@@
-10,8
+10,7
@@
#if defined(__cplusplus)
extern "C" {
#endif
#if defined(__cplusplus)
extern "C" {
#endif
-extern int
- sthread_inside_simgrid; // allows logs and library constructors to disable the interception on pthread operations
+extern volatile int sthread_inside_simgrid; // Only intercept pthread calls in user code
int sthread_main(int argc, char** argv, char** envp, int (*raw_main)(int, char**, char**));
int sthread_main(int argc, char** argv, char** envp, int (*raw_main)(int, char**, char**));