Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
implement s4u::Comm::recv_async()
[simgrid.git] / src / s4u / s4u_actor.cpp
index 8a5dd1c..7d3be59 100644 (file)
@@ -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);
+       // c.start() is optional.
        c.wait();
 }