xbt_lib_cursor_t cursor = NULL;
char *name = NULL;
void **host = NULL;
xbt_lib_foreach(host_lib, cursor, name, host){
if(host[SIMIX_HOST_LEVEL])
xbt_lib_cursor_t cursor = NULL;
char *name = NULL;
void **host = NULL;
xbt_lib_foreach(host_lib, cursor, name, host){
if(host[SIMIX_HOST_LEVEL])
- xbt_dict_set(host_dict,name,host[SIMIX_HOST_LEVEL],NULL);
+ xbt_dict_set(host_dict,name,host[SIMIX_HOST_LEVEL], NULL);
/* FIXME: check if the host running the action failed or not*/
/*if(surf_workstation_model->extension.workstation.get_state(action->host->host))*/
/* FIXME: check if the host running the action failed or not*/
/*if(surf_workstation_model->extension.workstation.get_state(action->host->host))*/
if (surf_workstation_model->action_state_get(action->execution.surf_exec) == SURF_ACTION_FAILED)
action->state = SIMIX_CANCELED;
else
if (surf_workstation_model->action_state_get(action->execution.surf_exec) == SURF_ACTION_FAILED)
action->state = SIMIX_CANCELED;
else