Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
no size for message queue, and no 0-timeout either!
authorFred Suter <suterf@ornl.gov>
Thu, 26 Oct 2023 20:26:56 +0000 (16:26 -0400)
committerFred Suter <suterf@ornl.gov>
Thu, 26 Oct 2023 20:26:56 +0000 (16:26 -0400)
examples/cpp/mess-wait/s4u-mess-wait.cpp

index 0e20a61..086dc47 100644 (file)
@@ -39,7 +39,7 @@ static void sender(int messages_count)
 
   /* Send message to let the receiver know that it should stop */
   XBT_INFO("Send 'finalize' to 'receiver'");
-  mqueue->put(new std::string("finalize"), 0);
+  mqueue->put(new std::string("finalize"));
 }
 
 /* Receiver actor expects 1 argument: its ID */