- case REQ_COMM_WAITANY:
- xbt_dynar_foreach(req->comm_waitany.comms, index, act) {
- if (act->comm.src_proc && act->comm.dst_proc){
- return TRUE;
- }
- }
- return FALSE;
+ case SIMCALL_COMM_SEND:
+ {
+ smx_action_t comm = SIMIX_comm_isend(
+ simcall->issuer,
+ simcall->comm_send.rdv,
+ simcall->comm_send.task_size,
+ simcall->comm_send.rate,
+ simcall->comm_send.src_buff,
+ simcall->comm_send.src_buff_size,
+ simcall->comm_send.match_fun,
+ NULL, /* no clean function since it's not detached */
+ simcall->comm_send.data,
+ 0);
+ SIMIX_pre_comm_wait(simcall, comm, simcall->comm_send.timeout, 0);