Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move this first C example to the example directory + cosmetics in outputs
[simgrid.git] / examples / s4u / async-waitany / s4u-async-waitany.cpp
index dba580e..293deec 100644 (file)
@@ -50,7 +50,7 @@ public:
     /* Start dispatching all messages to receivers, in a round robin fashion */
     for (int i = 0; i < messages_count; i++) {
       std::string msg_content = std::string("Message ") + std::to_string(i);
-      // Copy the data we send: 'msg_content' is not a stable storage location.
+      // Copy the data we send: the 'msg_content' variable is not a stable storage location.
       // It will be destroyed when this actor leaves the loop, ie before the receiver gets it
       std::string* payload = new std::string(msg_content);