X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0d1ef0520cf9fdada190234751262c803886c135..e816186fdeaf53fa5abf6886f157c499e09c4622:/src/kernel/context/ContextThread.hpp diff --git a/src/kernel/context/ContextThread.hpp b/src/kernel/context/ContextThread.hpp index 7eea375e8f..0dfc83b44f 100644 --- a/src/kernel/context/ContextThread.hpp +++ b/src/kernel/context/ContextThread.hpp @@ -13,6 +13,8 @@ #include "src/xbt/OsSemaphore.hpp" #include "xbt/xbt_os_thread.h" +#include + namespace simgrid { namespace kernel { namespace context { @@ -32,7 +34,7 @@ public: private: /** A portable thread */ - xbt_os_thread_t thread_ = nullptr; + std::thread* thread_ = nullptr; /** Semaphore used to schedule/yield the process (not needed when the maestro is in main, but harmless then) */ xbt::OsSemaphore begin_{0}; /** Semaphore used to schedule/unschedule (not needed when the maestro is in main, but harmless then) */