-
- INFO0("All tasks have been dispatched. Let's tell everybody the computation is over.");
- for (i = 0; i < slaves_count; i++) {
- char mailbox[80];
-
- sprintf(mailbox,"slave-%ld",i % slaves_count);
- MSG_task_send(MSG_task_create("finalize", 0, 0, 0), mailbox);
- }
-
-// INFO0("Goodbye now!");
- exit(0);
-} /* end_of_master */
+
+ XBT_INFO
+ ("All tasks have been dispatched. Let's tell everybody the computation is over.");
+ for (i = 0; i < slaves_count; i++) {
+ char mailbox[80];
+
+ sprintf(mailbox, "slave-%ld", i % slaves_count);
+ msg_task_t finalize = MSG_task_create("finalize", 0, 0, 0);
+ MSG_task_send(finalize, mailbox);
+ }
+
+// XBT_INFO("Goodbye now!");
+ return 0;
+} /* end_of_master */