X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c93f29cd7a1453e10d8635f11e48cf0d537a83a2..285721a10666864ff257d2709094ece7dcccc879:/src/kernel/context/ContextBoost.hpp diff --git a/src/kernel/context/ContextBoost.hpp b/src/kernel/context/ContextBoost.hpp index a816fe62ba..314b2a95f8 100644 --- a/src/kernel/context/ContextBoost.hpp +++ b/src/kernel/context/ContextBoost.hpp @@ -32,7 +32,6 @@ class BoostContextFactory; /** @brief Userspace context switching implementation based on Boost.Context */ class BoostContext : public Context { protected: // static - static bool parallel_; static simgrid::xbt::Parmap* parmap_; static std::vector workers_context_; static uintptr_t threads_working_; @@ -97,6 +96,9 @@ public: ~BoostContextFactory() override; Context* create_context(std::function code, void_pfn_smxprocess_t, smx_actor_t process) override; void run_all() override; + +private: + bool parallel_; }; }}} // namespace