]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/context/ContextRaw.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move ForcefulKillException to the root namespace, along with the other exceptions
[simgrid.git] / src / kernel / context / ContextRaw.hpp
index ab3967b6b221cbaf883011a32d5275f10ad265d0..40b74a4b10282c608876716677fdc8570da51edf 100644 (file)
@@ -26,8 +26,7 @@ namespace context {
   */
 class RawContext : public SwappedContext {
 public:
-  RawContext(std::function<void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t actor,
-             SwappedContextFactory* factory);
+  RawContext(std::function<void()> code, smx_actor_t actor, SwappedContextFactory* factory);
 
   void swap_into(SwappedContext* to) override;
 
@@ -40,7 +39,7 @@ private:
 
 class RawContextFactory : public SwappedContextFactory {
 public:
-  Context* create_context(std::function<void()> code, void_pfn_smxprocess_t cleanup, smx_actor_t process) override;
+  Context* create_context(std::function<void()> code, smx_actor_t actor) override;
 };
 }}} // namespace