X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/358e5659801b6e0128467478bb138d2c7dd54c25..87221a3cfb8b1464278294d99bce42d27d2f9382:/src/xbt/xbt_main.cpp diff --git a/src/xbt/xbt_main.cpp b/src/xbt/xbt_main.cpp index 194479b179..6086daddd8 100644 --- 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 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 cfg_dbg_clean_atexit{