- smx_req_t req = SIMIX_req_mine();
-
- req->call = REQ_COMM_SEND;
- req->comm_send.rdv = rdv;
- req->comm_send.task_size = task_size;
- req->comm_send.rate = rate;
- req->comm_send.src_buff = src_buff;
- req->comm_send.src_buff_size = src_buff_size;
- req->comm_send.match_fun = match_fun;
- req->comm_send.data = data;
- req->comm_send.timeout = timeout;
-
- SIMIX_request_push();
+ smx_simcall_t simcall = SIMIX_simcall_mine();
+
+ simcall->call = SIMCALL_COMM_SEND;
+ simcall->comm_send.rdv = rdv;
+ simcall->comm_send.task_size = task_size;
+ simcall->comm_send.rate = rate;
+ simcall->comm_send.src_buff = src_buff;
+ simcall->comm_send.src_buff_size = src_buff_size;
+ simcall->comm_send.match_fun = match_fun;
+ simcall->comm_send.data = data;
+ simcall->comm_send.timeout = timeout;
+
+ SIMIX_simcall_push(simcall->issuer);