Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into klement
[simgrid.git] / src / s4u / s4u_Exec.cpp
index b0c7175..7908468 100644 (file)
@@ -180,6 +180,10 @@ Exec* Exec::start()
           .set_flops_amount(flops_amounts_.front())
           .start();
     });
+
+  if (suspended_)
+    pimpl_->suspend();
+
   state_ = State::STARTED;
   on_start(*Actor::self(), *this);
   return this;