X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/358e5659801b6e0128467478bb138d2c7dd54c25..87221a3cfb8b1464278294d99bce42d27d2f9382:/src/sthread/sthread.h diff --git a/src/sthread/sthread.h b/src/sthread/sthread.h index 6e7d4f8962..233dbb1efd 100644 --- a/src/sthread/sthread.h +++ b/src/sthread/sthread.h @@ -10,8 +10,7 @@ #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**));