A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lua: return errors from execute/send/recv, or nil in case of success
[simgrid.git]
/
src
/
msg
/
msg_gos.c
diff --git
a/src/msg/msg_gos.c
b/src/msg/msg_gos.c
index
a1494c0
..
aa91522
100644
(file)
--- a/
src/msg/msg_gos.c
+++ b/
src/msg/msg_gos.c
@@
-31,8
+31,8
@@
MSG_error_t MSG_get_errno(void)
* takes only one parameter.
* \param task a #m_task_t to execute on the location on which the
agent is running.
* takes only one parameter.
* \param task a #m_task_t to execute on the location on which the
agent is running.
- * \return #MSG_
FATAL if \a task is not properly initialized and
- *
#MSG_OK otherwise.
+ * \return #MSG_
OK if the task was successfully completed, #MSG_TASK_CANCELED
+ *
or #MSG_HOST_FAILURE otherwise
*/
MSG_error_t MSG_task_execute(m_task_t task)
{
*/
MSG_error_t MSG_task_execute(m_task_t task)
{
@@
-103,7
+103,7
@@
MSG_error_t MSG_task_execute(m_task_t task)
#ifdef HAVE_TRACING
TRACE_msg_task_execute_end(task);
#endif
#ifdef HAVE_TRACING
TRACE_msg_task_execute_end(task);
#endif
- MSG_RETURN(MSG_TASK_CANCEL
L
ED);
+ MSG_RETURN(MSG_TASK_CANCELED);
}
}
}
}
@@
-214,7
+214,7
@@
MSG_error_t MSG_parallel_task_execute(m_task_t task)
/* action ended, set comm and compute = NULL, the actions is already destroyed in the main function */
simdata->comm = NULL;
simdata->compute = NULL;
/* 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_CANCEL
L
ED);
+ MSG_RETURN(MSG_TASK_CANCELED);
}
}
}
}