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

Public GIT Repository
process -> actor
[simgrid.git] / src / kernel / context / ContextRaw.hpp
index 2d975e70ea762bcfc2b535a43e84078eebbffd27..6e6b3df1c2ef7eaeef1d6bf61e42f71b5b9f14a8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2009-2021. 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. */
@@ -28,13 +28,11 @@ class RawContext : public SwappedContext {
 public:
   RawContext(std::function<void()>&& code, actor::ActorImpl* actor, SwappedContextFactory* factory);
 
-  void swap_into(SwappedContext* to) override;
-
 private:
   /** pointer to top the stack stack */
   void* stack_top_ = nullptr;
 
-  XBT_ATTRIB_NORETURN static void wrapper(RawContext* context);
+  void swap_into_for_real(SwappedContext* to) override;
 };
 
 class RawContextFactory : public SwappedContextFactory {