X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/244d7851457bfd373983edfb00c80760239dc8ab..17c819afc4ceda4000eec137c8fee35168253b4d:/src/kernel/context/ContextUnix.hpp diff --git a/src/kernel/context/ContextUnix.hpp b/src/kernel/context/ContextUnix.hpp index 91badf2d55..471b11f98b 100644 --- a/src/kernel/context/ContextUnix.hpp +++ b/src/kernel/context/ContextUnix.hpp @@ -8,6 +8,7 @@ #include /* context relative declarations */ +#include #include #include #include @@ -76,7 +77,7 @@ public: private: static simgrid::xbt::Parmap* parmap_; static std::vector workers_context_; - static uintptr_t threads_working_; + static std::atomic threads_working_; static xbt_os_thread_key_t worker_id_key_; }; #endif