Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add sg_comm_detach with cleaning function
[simgrid.git] / include / simgrid / comm.h
index 69d4490..d99cbbf 100644 (file)
@@ -12,6 +12,7 @@
 /* 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);