Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
added circle placement for ns3 wifi nodes
[simgrid.git] / include / simgrid / comm.h
index 3742c42984c9c9f9f6fbd8a52a7be25dce0ee265..d9d685519bff201cc4446d2142056bf6caf63e57 100644 (file)
 /* C interface */
 SG_BEGIN_DECL
 
+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 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);
+XBT_PUBLIC void sg_comm_unref(sg_comm_t comm);
 
 SG_END_DECL