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
snake_case simix/blocking_simcall.hpp
[simgrid.git]
/
src
/
simix
/
smx_network.cpp
diff --git
a/src/simix/smx_network.cpp
b/src/simix/smx_network.cpp
index
649154b
..
c95d8b3
100644
(file)
--- a/
src/simix/smx_network.cpp
+++ b/
src/simix/smx_network.cpp
@@
-466,7
+466,7
@@
static inline void SIMIX_comm_start(simgrid::kernel::activity::CommImplPtr comm)
receiver->get_cname(), comm->surfAction_);
/* If a link is failed, detect it immediately */
receiver->get_cname(), comm->surfAction_);
/* If a link is failed, detect it immediately */
- if (comm->surfAction_->get_state() == simgrid::kernel::resource::Action::State::
failed
) {
+ if (comm->surfAction_->get_state() == simgrid::kernel::resource::Action::State::
FAILED
) {
XBT_DEBUG("Communication from '%s' to '%s' failed to start because of a link failure", sender->get_cname(),
receiver->get_cname());
comm->state_ = SIMIX_LINK_FAILURE;
XBT_DEBUG("Communication from '%s' to '%s' failed to start because of a link failure", sender->get_cname(),
receiver->get_cname());
comm->state_ = SIMIX_LINK_FAILURE;
@@
-528,7
+528,7
@@
void SIMIX_comm_finish(smx_activity_t synchro)
/* Check out for errors */
/* Check out for errors */
- if (simcall->issuer->host->is
O
ff()) {
+ if (simcall->issuer->host->is
_o
ff()) {
simcall->issuer->context->iwannadie = 1;
SMX_EXCEPTION(simcall->issuer, host_error, 0, "Host failed");
} else {
simcall->issuer->context->iwannadie = 1;
SMX_EXCEPTION(simcall->issuer, host_error, 0, "Host failed");
} else {
@@
-616,7
+616,7
@@
void SIMIX_comm_finish(smx_activity_t synchro)
}
}
}
}
- if (simcall->issuer->host->is
O
ff()) {
+ if (simcall->issuer->host->is
_o
ff()) {
simcall->issuer->context->iwannadie = 1;
}
simcall->issuer->context->iwannadie = 1;
}