X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/961e11dbc1eb200e7a02f53e26025880a91e3b83..d08986414f2aaf9c858b0f63668c6e36ee4cb61f:/src/s4u/s4u_Io.cpp diff --git a/src/s4u/s4u_Io.cpp b/src/s4u/s4u_Io.cpp index cc9794aff4..4831daf91f 100644 --- a/src/s4u/s4u_Io.cpp +++ b/src/s4u/s4u_Io.cpp @@ -44,6 +44,10 @@ Io* Io::start() .start(); } }); + + if (suspended_) + pimpl_->suspend(); + state_ = State::STARTED; return this; }