X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45e860b49df0a17950158c0f5c6403463bd68b71..5dd12fd4cbebeabea922611c6cb82281e9e03c97:/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