Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Field SwappedContext::stack_ became private, use get_stack().
[simgrid.git] / src / kernel / context / ContextRaw.hpp
index 63fe3b7..b966a15 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2009-2019. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -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") {}