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
replace SIMIX_execution_start by modern simcall
[simgrid.git]
/
src
/
msg
/
msg_task.cpp
diff --git
a/src/msg/msg_task.cpp
b/src/msg/msg_task.cpp
index
bf8de7e
..
d7fbc11
100644
(file)
--- a/
src/msg/msg_task.cpp
+++ b/
src/msg/msg_task.cpp
@@
-189,7
+189,7
@@
msg_error_t MSG_task_cancel(msg_task_t task)
if (simdata->compute) {
simgrid::simix::simcall([simdata] { simdata->compute->cancel(); });
} else if (simdata->comm) {
if (simdata->compute) {
simgrid::simix::simcall([simdata] { simdata->compute->cancel(); });
} else if (simdata->comm) {
- sim
call_comm_cancel(simdata->comm
);
+ sim
grid::simix::simcall([simdata] { simdata->comm->cancel(); }
);
}
simdata->setNotUsed();
return MSG_OK;
}
simdata->setNotUsed();
return MSG_OK;