X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3580c1f2e5172b721449d0e79c72241bd012152a..15f9e0adbd11d2a0736440004a2f71ef9cfccab8:/src/kernel/context/ContextRaw.hpp diff --git a/src/kernel/context/ContextRaw.hpp b/src/kernel/context/ContextRaw.hpp index b014a1a37a..63fe3b783a 100644 --- a/src/kernel/context/ContextRaw.hpp +++ b/src/kernel/context/ContextRaw.hpp @@ -30,7 +30,6 @@ public: RawContext(std::function code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process, SwappedContextFactory* factory); ~RawContext() override; - void stop() override; void swap_into(SwappedContext* to) override; @@ -57,14 +56,12 @@ public: } void suspend() override; void resume() override; - - static void run_all(); }; class RawContextFactory : public SwappedContextFactory { public: - RawContextFactory(); - ~RawContextFactory() override; + RawContextFactory() : SwappedContextFactory("RawContextFactory") {} + Context* create_context(std::function code, void_pfn_smxprocess_t cleanup, smx_actor_t process) override; }; }}} // namespace