- /*! \static 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 ssize_t wait_any(const std::vector<CommPtr>& comms) { return wait_any_for(comms, -1); }
- /*! \static Same as wait_any, but with a timeout. Return -1 if the timeout occurs.*/
- static ssize_t wait_any_for(const std::vector<CommPtr>& comms, double timeout);
+ static ssize_t deprecated_wait_any_for(const std::vector<CommPtr>& comms,
+ double timeout); // XBT_ATTRIB_DEPRECATED_v339