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
No need to answer to simcall when host is off.
[simgrid.git]
/
src
/
simix
/
smx_network.cpp
diff --git
a/src/simix/smx_network.cpp
b/src/simix/smx_network.cpp
index
e3cc204
..
ed7189c
100644
(file)
--- a/
src/simix/smx_network.cpp
+++ b/
src/simix/smx_network.cpp
@@
-624,9
+624,6
@@
void SIMIX_comm_finish(smx_activity_t synchro)
}
}
}
}
- if (simcall->issuer->host_->is_off())
- simcall->issuer->context_->iwannadie = true;
-
simcall->issuer->waiting_synchro = nullptr;
simcall->issuer->comms.remove(synchro);
if(comm->detached){
simcall->issuer->waiting_synchro = nullptr;
simcall->issuer->comms.remove(synchro);
if(comm->detached){
@@
-643,7
+640,10
@@
void SIMIX_comm_finish(smx_activity_t synchro)
}
}
}
}
- SIMIX_simcall_answer(simcall);
+ if (simcall->issuer->host_->is_off())
+ simcall->issuer->context_->iwannadie = true;
+ else
+ SIMIX_simcall_answer(simcall);
}
}
}
}