git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9380
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
/* Associate this request to the action */
xbt_fifo_push(action->request_list, req);
if (action->state != SIMIX_WAITING && action->state != SIMIX_RUNNING){
/* Associate this request to the action */
xbt_fifo_push(action->request_list, req);
if (action->state != SIMIX_WAITING && action->state != SIMIX_RUNNING){
- req->comm_waitany.result = cursor;
SIMIX_comm_finish(action);
break;
}
SIMIX_comm_finish(action);
break;
}
return it as the result of the call */
if (req->call == REQ_COMM_WAITANY) {
SIMIX_waitany_req_remove_from_actions(req);
return it as the result of the call */
if (req->call == REQ_COMM_WAITANY) {
SIMIX_waitany_req_remove_from_actions(req);
+ if(!MC_IS_ENABLED)
+ req->comm_waitany.result = xbt_dynar_search(req->comm_waitany.comms, &action);
}
/* If the action is still in a rendez-vous point then remove from it */
}
/* If the action is still in a rendez-vous point then remove from it */