X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6c98d311c94b09a185a36f90f7a4a56a6a70298a..a21c899e4be4bccd122de490e9aa3348e436b81f:/src/s4u/s4u_Io.cpp diff --git a/src/s4u/s4u_Io.cpp b/src/s4u/s4u_Io.cpp index d02bce14a7..a95426b44a 100644 --- a/src/s4u/s4u_Io.cpp +++ b/src/s4u/s4u_Io.cpp @@ -76,9 +76,12 @@ bool Io::test() if (state_ == State::INITED) this->start(); - THROW_UNIMPLEMENTED; + if (simcall_io_test(pimpl_)) { + state_ = State::FINISHED; + return true; + } - // return false + return false; } /** @brief Returns the amount of flops that remain to be done */