simdata->compute = NULL;
simdata->comm = NULL;
+ simdata->host_list = NULL;
+ simdata->comp_amount = NULL;
+ simdata->comm_amount = NULL;
+
return task;
}
smx_action_t action = NULL;
xbt_assert0((task != NULL), "Invalid parameter");
- /* why? if somebody is using, then you can't free! ok... but will return MSG_OK? when this task will be destroyed, isn't the code wrong? */
+ /* why? if somebody is using, then you can't free! ok... but will return MSG_OK? when this task will be destroyed? isn't the user code wrong? */
task->simdata->using--;
if(task->simdata->using>0) return MSG_OK;