- ("All tasks have been dispatched. Let's tell everybody the computation is over.");
- for (i = 0; i < slaves_count; i++)
- MSG_task_put(MSG_task_create("finalize", 0, 0, FINALIZE),
- slaves[i], PORT_22);
+ ("All tasks have been dispatched. Let's tell everybody the computation is over.");
+ for (i = 0; i < slaves_count; i++) {
+ m_task_t finalize = MSG_task_create("finalize", 0, 0, FINALIZE);
+ MSG_task_put(finalize, slaves[i], PORT_22);
+ }