X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/244d7851457bfd373983edfb00c80760239dc8ab..611d822b02f836d7abe031cced6adc4281ef4356:/src/kernel/context/ContextRaw.hpp?ds=sidebyside diff --git a/src/kernel/context/ContextRaw.hpp b/src/kernel/context/ContextRaw.hpp index f2c9bc6765..2126f38cf0 100644 --- a/src/kernel/context/ContextRaw.hpp +++ b/src/kernel/context/ContextRaw.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2009-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -6,6 +6,7 @@ #ifndef SIMGRID_SIMIX_RAW_CONTEXT_HPP #define SIMGRID_SIMIX_RAW_CONTEXT_HPP +#include #include #include #include @@ -79,7 +80,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