Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update python/clusters-multicpu to the new API.
[simgrid.git] / include / simgrid / s4u / Exec.hpp
index a0f02edcd0c68fd15112c43fcf2d8a426fb766db..8167b87c24a49dff5470d959a6efd47e7080267e 100644 (file)
@@ -77,21 +77,12 @@ public:
   bool is_assigned() const override;
 
 #ifndef DOXYGEN
-  static ssize_t deprecated_wait_any_for(const std::vector<ExecPtr>& execs,
-                                         double timeout); // XBT_ATTRIB_DEPRECATED_v339
-  /*! \static 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 ssize_t deprecated_wait_any_for(const std::vector<ExecPtr>& execs, double timeout); // XBT_ATTRIB_DEPRECATED_v339
+
   XBT_ATTRIB_DEPRECATED_v339("Please use ActivitySet instead") static ssize_t
-      wait_any(const std::vector<ExecPtr>& execs)
-  {
-    return deprecated_wait_any_for(execs, -1);
-  }
-  /*! \static Same as wait_any, but with a timeout. If the timeout occurs, parameter last is returned.*/
+      wait_any(const std::vector<ExecPtr>& execs) { return deprecated_wait_any_for(execs, -1); }
   XBT_ATTRIB_DEPRECATED_v339("Please use ActivitySet instead") static ssize_t
-      wait_any_for(const std::vector<ExecPtr>& execs, double timeout)
-  {
-    return deprecated_wait_any_for(execs, timeout);
-  }
+      wait_any_for(const std::vector<ExecPtr>& execs, double timeout) { return deprecated_wait_any_for(execs, timeout); }
 #endif
 };