X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/794c022b0b35e1379ce8e4e0a6b26f83ee07c95b..806504b9602a886e391b54e458b2c1f7f42d3afb:/src/simix/smurf_private.h diff --git a/src/simix/smurf_private.h b/src/simix/smurf_private.h index 09050f9de5..4f0a7ab52b 100644 --- a/src/simix/smurf_private.h +++ b/src/simix/smurf_private.h @@ -50,9 +50,11 @@ typedef enum { REQ_COMM_WAITANY, REQ_COMM_WAIT, REQ_COMM_TEST, + REQ_COMM_TESTANY, REQ_COMM_GET_REMAINS, REQ_COMM_GET_STATE, - REQ_COMM_GET_DATA, + REQ_COMM_GET_SRC_DATA, + REQ_COMM_GET_DST_DATA, REQ_COMM_GET_SRC_BUFF, REQ_COMM_GET_DST_BUFF, REQ_COMM_GET_SRC_BUFF_SIZE, @@ -276,14 +278,17 @@ typedef struct s_smx_req { double rate; void *src_buff; size_t src_buff_size; + int (*match_fun)(void *, void *); void *data; - smx_action_t result; + smx_action_t result; } comm_isend; struct { smx_rdv_t rdv; void *dst_buff; size_t *dst_buff_size; + int (*match_fun)(void *, void *); + void *data; smx_action_t result; } comm_irecv; @@ -310,6 +315,11 @@ typedef struct s_smx_req { int result; } comm_test; + struct { + xbt_dynar_t comms; + int result; + } comm_testany; + struct { smx_action_t comm; double result; @@ -322,8 +332,13 @@ typedef struct s_smx_req { struct { smx_action_t comm; - void *result; - } comm_get_data; + void *result; + } comm_get_src_data; + + struct { + smx_action_t comm; + void *result; + } comm_get_dst_data; struct { smx_action_t comm;