X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3fecac5b3070e10c780c6aa2f2b693f8cefe7e27..043d89009e86d407912e1165c43eb92c96dcbcbe:/src/kernel/context/ContextRaw.hpp diff --git a/src/kernel/context/ContextRaw.hpp b/src/kernel/context/ContextRaw.hpp index f2c9bc6765..3ade7105e7 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,18 +6,14 @@ #ifndef SIMGRID_SIMIX_RAW_CONTEXT_HPP #define SIMGRID_SIMIX_RAW_CONTEXT_HPP +#include #include #include #include -#include #include #include -#include "Context.hpp" -#include "src/internal_config.h" -#include "src/simix/smx_private.hpp" - namespace simgrid { namespace kernel { namespace context { @@ -79,7 +75,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