Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update python/clusters-multicpu to the new API.
[simgrid.git] / include / simgrid / s4u / ActivitySet.hpp
index 49c79d6fd3f254f7333227367b9457be058f11e7..10ec7c86ec409b69ea30b2fdfd099d07bf51096e 100644 (file)
@@ -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<ActivitySet> support: