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
Return the host failures in the same process sleep requests.
[simgrid.git]
/
src
/
msg
/
gos.c
diff --git
a/src/msg/gos.c
b/src/msg/gos.c
index
4993ae0
..
e581ab0
100644
(file)
--- a/
src/msg/gos.c
+++ b/
src/msg/gos.c
@@
-243,22
+243,16
@@
MSG_error_t MSG_process_sleep(double nb_sec)
proc->simdata->waiting_action = NULL;*/
if (state == SIMIX_DONE) {
proc->simdata->waiting_action = NULL;*/
if (state == SIMIX_DONE) {
- if (SIMIX_req_host_get_state(SIMIX_host_self()) == SURF_RESOURCE_OFF) {
#ifdef HAVE_TRACING
#ifdef HAVE_TRACING
-
TRACE_msg_process_sleep_out(MSG_process_self());
+ TRACE_msg_process_sleep_out(MSG_process_self());
#endif
#endif
- MSG_RETURN(MSG_HOST_FAILURE);
- }
+ MSG_RETURN(MSG_OK);
} else {
#ifdef HAVE_TRACING
TRACE_msg_process_sleep_out(MSG_process_self());
#endif
MSG_RETURN(MSG_HOST_FAILURE);
}
} else {
#ifdef HAVE_TRACING
TRACE_msg_process_sleep_out(MSG_process_self());
#endif
MSG_RETURN(MSG_HOST_FAILURE);
}
-#ifdef HAVE_TRACING
- TRACE_msg_process_sleep_out(MSG_process_self());
-#endif
- MSG_RETURN(MSG_OK);
}
/** \ingroup msg_gos_functions
}
/** \ingroup msg_gos_functions