if(MSG_host_self()==slaves[i % slaves_count]) {
INFO0("Hey ! It's me ! :)");
}
+
MSG_task_put(todo[i], slaves[i % slaves_count],
PORT_22);
INFO0("Send completed");
return 0;
} /* end_of_slave */
-/** Receiver function */
+/** Forwarder function */
int forwarder(int argc, char *argv[])
{
int i;
slaves[i% slaves_count]->name);
MSG_task_put(task, slaves[i % slaves_count],
PORT_22);
+ i++;
} else {
INFO0("Hey ?! What's up ? ");
xbt_assert0(0,"Unexpected behavior");
return 0;
} /* end_of_forwarder */
-
/** Test function */
MSG_error_t test_all(const char *platform_file,
const char *application_file)