/* C interface */
SG_BEGIN_DECL
+XBT_PUBLIC int sg_comm_test(sg_comm_t comm);
XBT_PUBLIC void sg_comm_wait_all(sg_comm_t* comms, size_t count);
XBT_PUBLIC int sg_comm_wait_any_for(sg_comm_t* comms, size_t count, double timeout);
XBT_PUBLIC int sg_comm_wait_any(sg_comm_t* comms, size_t count);
} // namespace s4u
} // namespace simgrid
/* **************************** Public C interface *************************** */
+int sg_comm_test(sg_comm_t comm)
+{
+ return comm->test();
+}
+
void sg_comm_wait_all(sg_comm_t* comms, size_t count)
{
std::vector<simgrid::s4u::CommPtr> s4u_comms;