Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Tentative implementation of Activity::suspend() and resume()
[simgrid.git] / src / s4u / s4u_Io.cpp
index cc9794a..4831daf 100644 (file)
@@ -44,6 +44,10 @@ Io* Io::start()
           .start();
     }
   });
+
+  if (suspended_)
+    pimpl_->suspend();
+
   state_ = State::STARTED;
   return this;
 }