X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d54ca2b555fc67dfb608b5c6e87e1af04f7b15db..986ac65f69846294255322cee37100fc7c46a514:/include/simgrid/s4u/ActivitySet.hpp diff --git a/include/simgrid/s4u/ActivitySet.hpp b/include/simgrid/s4u/ActivitySet.hpp index 8f9e6ed718..172bb36991 100644 --- a/include/simgrid/s4u/ActivitySet.hpp +++ b/include/simgrid/s4u/ActivitySet.hpp @@ -40,13 +40,12 @@ public: /** Wait for the completion of all activities in the set, but not longer than the provided timeout * - * On timeout, an exception is raised, and the completed activities remain in the set. Use test_any() to retrieve - * them. + * On timeout, an exception is raised. * - * When no timeout occures, the set is emptied. + * In any case, the completed activities remain in the set. Use test_any() to retrieve them. */ void wait_all_for(double timeout); - /** Wait for the completion of all activities in the set. The set is emptied afterward. */ + /** Wait for the completion of all activities in the set. The set is NOT emptied afterward. */ void wait_all() { wait_all_for(-1); } /** Returns the first terminated activity if any, or ActivityPtr(nullptr) if no activity is terminated */ ActivityPtr test_any();