MSG_HOST_FAILURE = 4, /**< @brief System shutdown. The host on which you are
running has just been rebooted. Free your datastructures and
return now !*/
- MSG_TASK_CANCELLED = 8, /**< @brief Canceled task. This task has been canceled by somebody!*/
+ MSG_TASK_CANCELED = 8, /**< @brief Canceled task. This task has been canceled by somebody!*/
} MSG_error_t;
/** @} */
+
SG_END_DECL()
#endif
MSG_mailbox_put_with_timeout(mailbox, task, timeout)
#define MSG_process_change_host(h) MSG_process_migrate(MSG_process_self(),h);
+#define MSG_TASK_CANCELLED MSG_TASK_CANCELED
#endif
#include "instr/instr.h"
#ifdef HAVE_TRACING
TRACE_msg_task_execute_end(task);
#endif
- MSG_RETURN(MSG_TASK_CANCELLED);
+ MSG_RETURN(MSG_TASK_CANCELED);
}
}
/* action ended, set comm and compute = NULL, the actions is already destroyed in the main function */
simdata->comm = NULL;
simdata->compute = NULL;
- MSG_RETURN(MSG_TASK_CANCELLED);
+ MSG_RETURN(MSG_TASK_CANCELED);
}
}
/* FIXME: check if the host running the action failed or not*/
/*if(surf_workstation_model->extension.workstation.get_state(action->host->host))*/
- /* If the host running the action didn't fail, then the action was cancelled */
+ /* If the host running the action didn't fail, then the action was canceled */
if (surf_workstation_model->action_state_get(action->execution.surf_exec) == SURF_ACTION_FAILED)
action->state = SIMIX_CANCELED;
else