X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e802811a6004b432c1f7777c4347ebd668ed4b3e..205be58e3b45860a45b96700f36fb02e34734010:/src/simix/private.h diff --git a/src/simix/private.h b/src/simix/private.h index e4cb08d959..4ff9c741d6 100644 --- a/src/simix/private.h +++ b/src/simix/private.h @@ -151,6 +151,14 @@ typedef struct s_smx_comm { void *data; /* User data associated to communication */ } s_smx_comm_t; +void SIMIX_network_copy_data(smx_comm_t comm); +smx_comm_t SIMIX_communication_new(smx_comm_type_t type); +void SIMIX_communication_destroy(smx_comm_t comm); +static inline void SIMIX_communication_use(smx_comm_t comm); +static inline void SIMIX_communication_wait_for_completion(smx_comm_t comm, double timeout); +static inline void SIMIX_rdv_push(smx_rdv_t rdv, smx_comm_t comm); +static inline void SIMIX_rdv_remove(smx_rdv_t rdv, smx_comm_t comm); + /********************************* Action *************************************/ typedef enum {ready, ongoing, done, failed} smx_action_state_t;