X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b2852b7c61948f495d7437ffaa7fd9aced12849c..8d9c110f5bf839dcb7426f7750c09b3ff196bdf3:/include/simgrid/s4u/ActivitySet.hpp diff --git a/include/simgrid/s4u/ActivitySet.hpp b/include/simgrid/s4u/ActivitySet.hpp index 49c79d6fd3..10ec7c86ec 100644 --- a/include/simgrid/s4u/ActivitySet.hpp +++ b/include/simgrid/s4u/ActivitySet.hpp @@ -78,7 +78,10 @@ public: */ ActivityPtr wait_any() { return wait_any_for(-1); } + /** Return one of the failed activity of the set that was revealed during the previous wait operation, or + * ActivityPtr() if no failed activity exist in the set. */ ActivityPtr get_failed_activity(); + /** Return whether the set contains any failed activity. */ bool has_failed_activities() { return not failed_activities_.empty(); } // boost::intrusive_ptr support: