Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a race condition
[simgrid.git] / src / kernel / context / ContextRaw.hpp
index 63fe3b7..c30e4ec 100644 (file)
@@ -29,7 +29,6 @@ class RawContext : public SwappedContext {
 public:
   RawContext(std::function<void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process,
              SwappedContextFactory* factory);
-  ~RawContext() override;
 
   void swap_into(SwappedContext* to) override;
 
@@ -47,17 +46,6 @@ private:
   static void wrapper(void* arg);
 };
 
-class ParallelRawContext : public RawContext {
-public:
-  ParallelRawContext(std::function<void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process,
-                     SwappedContextFactory* factory)
-      : RawContext(std::move(code), cleanup_func, process, factory)
-  {
-  }
-  void suspend() override;
-  void resume() override;
-};
-
 class RawContextFactory : public SwappedContextFactory {
 public:
   RawContextFactory() : SwappedContextFactory("RawContextFactory") {}