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
model-checker : new example bugged1 for stateful dpor
[simgrid.git]
/
src
/
msg
/
task.c
diff --git
a/src/msg/task.c
b/src/msg/task.c
index
b0df136
..
877467c
100644
(file)
--- a/
src/msg/task.c
+++ b/
src/msg/task.c
@@
-200,13
+200,6
@@
MSG_error_t MSG_task_cancel(m_task_t task)
SIMIX_req_comm_cancel(task->simdata->comm);
task->simdata->isused = 0;
}
SIMIX_req_comm_cancel(task->simdata->comm);
task->simdata->isused = 0;
}
- else {
- static int warned = 0;
- if (!warned) {
- XBT_WARN("Cannot cancel a non-running task");
- warned = 1;
- }
- }
return MSG_OK;
}
return MSG_OK;
}