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
SIMIX_CANCELED is a more adapted state in SIMIX_comm_cancel()
[simgrid.git]
/
src
/
simix
/
smx_network.c
diff --git
a/src/simix/smx_network.c
b/src/simix/smx_network.c
index
6b4922f
..
d5d4631
100644
(file)
--- a/
src/simix/smx_network.c
+++ b/
src/simix/smx_network.c
@@
-716,7
+716,7
@@
void SIMIX_comm_cancel(smx_action_t action)
/* so remove from it and delete it */
if (action->state == SIMIX_WAITING) {
SIMIX_rdv_remove(action->comm.rdv, action);
/* so remove from it and delete it */
if (action->state == SIMIX_WAITING) {
SIMIX_rdv_remove(action->comm.rdv, action);
- action->state = SIMIX_
FAI
LED;
+ action->state = SIMIX_
CANCE
LED;
}
else if (!MC_IS_ENABLED
&& (action->state == SIMIX_READY || action->state == SIMIX_RUNNING)) {
}
else if (!MC_IS_ENABLED
&& (action->state == SIMIX_READY || action->state == SIMIX_RUNNING)) {