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
Fire Comm::on_completion in any case.
[simgrid.git]
/
src
/
s4u
/
s4u_Comm.cpp
diff --git
a/src/s4u/s4u_Comm.cpp
b/src/s4u/s4u_Comm.cpp
index
7e9d648
..
ebb2567
100644
(file)
--- a/
src/s4u/s4u_Comm.cpp
+++ b/
src/s4u/s4u_Comm.cpp
@@
-182,7
+182,6
@@
Comm* Comm::wait_for(double timeout)
case State::STARTED:
simcall_comm_wait(get_impl(), timeout);
- on_completion(*Actor::self());
state_ = State::FINISHED;
this->release_dependencies();
break;
@@
-193,6
+192,7
@@
Comm* Comm::wait_for(double timeout)
default:
THROW_IMPOSSIBLE;
}
+ on_completion(*Actor::self());
return this;
}