]> AND Public Git Repository - simgrid.git/blobdiff - examples/c/async-wait/async-wait.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Const for pointer and reference parameters (slight return).
[simgrid.git] / examples / c / async-wait / async-wait.c
index 994485fcdc7c99dcccdea22797b09e35231a4559..64ba4efd490ae6a59560fe46f4c1d31b0157d76c 100644 (file)
@@ -16,7 +16,7 @@
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(async_wait, "Messages specific for this example");
 
-/* Main function of the Sender process */
+/* Main function of the Sender actor */
 static void sender(int argc, char* argv[])
 {
   xbt_assert(argc == 5, "The sender function expects 4 arguments from the XML deployment file");
@@ -49,7 +49,7 @@ static void sender(int argc, char* argv[])
   sg_mailbox_put(mailbox, xbt_strdup("finalize"), 0);
 }
 
-/* Receiver process expects 3 arguments: */
+/* Receiver actor expects 3 arguments: */
 static void receiver(int argc, char* argv[])
 {
   xbt_assert(argc == 3, "The relay_runner function does not accept any parameter from the XML deployment file");