X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5ed37babb2fa9097abe82df299c0aa259ed84d5a..7dc1f40f894dbc81c12c896a790a63cb3be218fa:/include/simgrid/comm.h diff --git a/include/simgrid/comm.h b/include/simgrid/comm.h index ee5f5e737b..8490a27c00 100644 --- a/include/simgrid/comm.h +++ b/include/simgrid/comm.h @@ -12,12 +12,13 @@ /* C interface */ SG_BEGIN_DECL +XBT_PUBLIC int sg_comm_isinstance(sg_activity_t acti); + XBT_PUBLIC void sg_comm_detach(sg_comm_t comm, void (*clean_function)(void*)); XBT_PUBLIC int sg_comm_test(sg_comm_t comm); XBT_PUBLIC sg_error_t sg_comm_wait(sg_comm_t comm); XBT_PUBLIC sg_error_t sg_comm_wait_for(sg_comm_t comm, double timeout); XBT_PUBLIC void sg_comm_wait_all(sg_comm_t* comms, size_t count); -XBT_PUBLIC size_t sg_comm_wait_all_for(sg_comm_t* comms, size_t count, double timeout); XBT_PUBLIC ssize_t sg_comm_wait_any_for(sg_comm_t* comms, size_t count, double timeout); XBT_PUBLIC ssize_t sg_comm_wait_any(sg_comm_t* comms, size_t count); XBT_PUBLIC void sg_comm_unref(sg_comm_t comm);