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
implement s4u::Comm::recv_async()
[simgrid.git]
/
src
/
s4u
/
s4u_actor.cpp
diff --git
a/src/s4u/s4u_actor.cpp
b/src/s4u/s4u_actor.cpp
index
8a5dd1c
..
7d3be59
100644
(file)
--- a/
src/s4u/s4u_actor.cpp
+++ b/
src/s4u/s4u_actor.cpp
@@
-102,6
+102,7
@@
void s4u::Actor::send(Mailbox &chan, void *payload, size_t simulatedSize) {
Comm c = Comm::send_init(this,chan);
c.setRemains(simulatedSize);
c.setSrcData(payload);
Comm c = Comm::send_init(this,chan);
c.setRemains(simulatedSize);
c.setSrcData(payload);
+ // c.start() is optional.
c.wait();
}
c.wait();
}