(*process)->data = data;
(*process)->comms = xbt_fifo_new();
(*process)->simcall.issuer = *process;
+
+ if(MC_is_active())
+ MC_ignore_heap(&((*process)->simcall.result), sizeof((*process)->simcall.result));
+
/* Process data for auto-restart */
(*process)->auto_restart = auto_restart;
(*process)->code = code;
{
if (MC_is_active()) {
MC_process_clock_add(simcall->issuer, duration);
- simcall->process_sleep.result = SIMIX_DONE;
+ simcall_process_sleep__set__result(simcall, SIMIX_DONE);
SIMIX_simcall_answer(simcall);
return;
}
workstation.get_state(simcall->issuer->smx_host->host) != SURF_RESOURCE_ON) {
simcall->issuer->context->iwannadie = 1;
}
- simcall->process_sleep.result = state;
+ simcall_process_sleep__set__result(simcall, state);
simcall->issuer->waiting_action = NULL;
SIMIX_simcall_answer(simcall);