Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow and use method chaining for ExecImpl
[simgrid.git] / src / kernel / activity / ExecImpl.hpp
index c70aab5..accc1c5 100644 (file)
@@ -19,7 +19,7 @@ class XBT_PUBLIC ExecImpl : public ActivityImpl {
 public:
   explicit ExecImpl(std::string name, std::string tracing_category, resource::Action* timeout_detector,
                     s4u::Host* host);
-  void start(double flops_amount, double priority, double bound);
+  ExecImpl* start(double flops_amount, double priority, double bound);
   void cancel();
   void post() override;
   double get_remaining();