]> AND Public Git Repository - simgrid.git/blobdiff - src/s4u/s4u_Comm.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
doc: link++
[simgrid.git] / src / s4u / s4u_Comm.cpp
index 4d5bb786b4681e761fd7df23aa75e454728192e6..914138569f08e95d3b959708459b0eb96dd12e3f 100644 (file)
@@ -138,6 +138,10 @@ Comm* Comm::start()
   } else {
     xbt_die("Cannot start a communication before specifying whether we are the sender or the receiver");
   }
+
+  if (suspended_)
+    pimpl_->suspend();
+
   state_ = State::STARTED;
   return this;
 }