From: Arnaud Giersch Date: Sun, 29 Nov 2020 10:18:43 +0000 (+0100) Subject: Fix comment. X-Git-Tag: v3.26~73 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4ec65626ec76673413d980213b7b009dd003f1db Fix comment. --- diff --git a/include/simgrid/s4u/Comm.hpp b/include/simgrid/s4u/Comm.hpp index 49b9071ad6..47490987a5 100644 --- a/include/simgrid/s4u/Comm.hpp +++ b/include/simgrid/s4u/Comm.hpp @@ -50,7 +50,7 @@ public: /*! take a vector s4u::CommPtr and return when one of them is finished. * The return value is the rank of the first finished CommPtr. */ static int wait_any(const std::vector* comms) { return wait_any_for(comms, -1); } - /*! Same as wait_any, but with a timeout. If the timeout occurs, parameter last is returned.*/ + /*! Same as wait_any, but with a timeout. Return -1 if the timeout occurs.*/ static int wait_any_for(const std::vector* comms_in, double timeout); /*! take a vector s4u::CommPtr and return when all of them is finished. */