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

Public GIT Repository
Don't give actors a chance to survive their exec if their host is turned off
[simgrid.git] / src / kernel / activity / SynchroRaw.hpp
index 40b388795eb3aa9e1f3017b5eb2e38a380bb6b8e..91158611f0308cc1bf2918e93655d76a2986213c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-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. */
@@ -17,13 +17,12 @@ namespace activity {
 class XBT_PUBLIC RawImpl : public ActivityImpl {
 public:
   ~RawImpl() override;
+  RawImpl* start(s4u::Host* host, double timeout);
   void suspend() override;
   void resume() override;
   void post() override;
-
-  simgrid::kernel::resource::Action* sleep = nullptr;
-  };
-
+  void finish() override;
+};
 }}} // namespace simgrid::kernel::activity
 
 #endif