X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dce8c146731172cb67825c72a11f92e2485efabd..1910eb3996b33f7e42fea6b093485600e04a567a:/include/simgrid/s4u/Exec.hpp diff --git a/include/simgrid/s4u/Exec.hpp b/include/simgrid/s4u/Exec.hpp index 9a51dd022c..ac5b5f6c53 100644 --- a/include/simgrid/s4u/Exec.hpp +++ b/include/simgrid/s4u/Exec.hpp @@ -50,14 +50,12 @@ public: static ExecPtr init(); Exec* start() override; - Exec* wait() override; - Exec* wait_for(double timeout) override; + /*! take a vector of s4u::ExecPtr and return when one of them is finished. * The return value is the rank of the first finished ExecPtr. */ static int wait_any(std::vector* execs) { return wait_any_for(execs, -1); } /*! Same as wait_any, but with a timeout. If the timeout occurs, parameter last is returned.*/ static int wait_any_for(std::vector* execs, double timeout); - Exec* cancel() override; /** @brief On sequential executions, returns the amount of flops that remain to be done; This cannot be used on * parallel executions. */